update
This commit is contained in:
@@ -262,10 +262,6 @@ const isElementVisibleAndFocusable = (element: HTMLElement): boolean => {
|
||||
@close="focusSwitcherStore.toggleConfigurator(false)"
|
||||
/>
|
||||
|
||||
<footer v-if="!isWorkspaceRoute || isLayoutVisible"> <!-- *** 添加 v-if *** -->
|
||||
<!-- 使用 t 函数获取应用名称 -->
|
||||
<p>© 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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user