Skip to content

Commit

Permalink
Merge branch 'master' into hotfix/box-sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
kailong321200875 authored Aug 25, 2024
2 parents a27b14e + 2ae5a15 commit 2827f5b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/components/Footer/src/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const title = computed(() => appStore.getTitle)
<template>
<div
:class="prefixCls"
class="shrink-0 text-center text-[var(--el-text-color-placeholder)] bg-[var(--app-content-bg-color)] h-[var(--app-footer-height)] leading-[var(--app-footer-height)] dark:bg-[var(--el-bg-color)]"
class="text-center text-[var(--el-text-color-placeholder)] bg-[var(--app-content-bg-color)] h-[var(--app-footer-height)] leading-[var(--app-footer-height)] dark:bg-[var(--el-bg-color)] overflow-hidden"
>
Copyright ©2021-present {{ title }}
</div>
Expand Down
9 changes: 0 additions & 9 deletions src/layout/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,5 @@ export default defineComponent({
.@{prefix-cls} {
background-color: var(--app-content-bg-color);
.@{prefix-cls}-content-scrollbar {
& > :deep(.el-scrollbar__wrap) {
& > .@{elNamespace}-scrollbar__view {
display: flex;
height: 100% !important;
flex-direction: column;
}
}
}
}
</style>
6 changes: 5 additions & 1 deletion src/layout/components/AppView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ const getCaches = computed((): string[] => {
<template>
<section
:class="[
'flex-1 p-[var(--app-content-padding)] w-full bg-[var(--app-content-bg-color)] dark:bg-[var(--el-bg-color)]'
'box-border p-[var(--app-content-padding)] w-full bg-[var(--app-content-bg-color)] dark:bg-[var(--el-bg-color)]',
{
'!min-h-[calc(100vh-var(--top-tool-height)-var(--tags-view-height)-var(--app-footer-height))] pb-0':
footer
}
]"
>
<router-view>
Expand Down

0 comments on commit 2827f5b

Please sign in to comment.