Skip to content

Commit bda91ce

Browse files
committed
fix(layout): restore bottom padding
1 parent ce62333 commit bda91ce

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

layouts/default.vue

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,16 @@
11
<template>
2-
<div class="min-h-[100vh] min-w-[960px]">
3-
<div class="header_main my-0 flex flex-col p-0">
2+
<div>
3+
<div
4+
class="mb-[2.5rem] flex min-h-[calc(100vh-2.5rem)] min-w-[960px] flex-col">
45
<BarHeader />
5-
<div class="main-content flex flex-1 justify-center pb-[0.5rem]">
6-
<div class="content-container myShadow flex">
7-
<div
8-
class="sticky top-0 w-[15%] min-w-[12rem] bg-leftbar-bg *:text-nowrap">
9-
<BarLeft class="sticky top-0 min-w-[100%] *:text-nowrap" />
10-
</div>
11-
<slot />
6+
<div class="content-container myShadow mx-auto flex flex-grow">
7+
<div
8+
class="sticky top-0 w-[15%] min-w-[12rem] bg-leftbar-bg *:text-nowrap">
9+
<BarLeft class="sticky top-0 min-w-[100%] *:text-nowrap" />
1210
</div>
11+
<slot />
1312
</div>
1413
</div>
15-
<BarFooter class="fixed bottom-0 h-[2rem]" />
14+
<BarFooter class="fixed bottom-0 h-[2rem] min-w-[960px]" />
1615
</div>
1716
</template>
18-
<style lang="scss">
19-
.header_main {
20-
height: calc(100vh - 2rem);
21-
}
22-
</style>

0 commit comments

Comments
 (0)