This commit is contained in:
Baobhan Sith
2025-04-19 21:49:19 +08:00
parent d6cb9f1846
commit e6709a7c5f
2 changed files with 1 additions and 18 deletions
-17
View File
@@ -262,10 +262,6 @@ const isElementVisibleAndFocusable = (element: HTMLElement): boolean => {
@close="focusSwitcherStore.toggleConfigurator(false)"
/>
<footer v-if="!isWorkspaceRoute || isLayoutVisible"> <!-- *** 添加 v-if *** -->
<!-- 使用 t 函数获取应用名称 -->
<p>&copy; 2025 {{ t('appName') }}</p>
</footer>
</div>
</template>
@@ -369,17 +365,4 @@ main {
/* padding: var(--base-padding); */ /* Keep padding removed from main */
}
footer {
padding: var(--base-padding); /* 使用基础内边距变量 */
}
footer {
background-color: var(--footer-bg-color); /* 使用底部背景色变量 */
padding: calc(var(--base-padding) / 20) var(--base-padding); /* 调整内边距 */
text-align: center;
font-size: 0.8rem;
color: var(--text-color-secondary); /* 使用次要文字颜色变量 */
border-top: 1px solid var(--border-color); /* 使用边框颜色变量 */
margin-top: auto; /* Pushes footer to the bottom */
}
</style>
@@ -370,7 +370,7 @@ const handleCloseEditorTab = (tabId: string) => {
display: flex;
background-color: transparent;
flex-direction: column;
height: calc(100vh - 60px - 30px - 2rem); /* 保持原始高度计算 */
height: calc(100vh - 3.5rem); /* 保持原始高度计算 */
overflow: hidden;
}