Skip to content

Commit 25b90fa

Browse files
committed
✨ feat: 调整 AppLayout 和 AppMenu 组件样式,优化底部菜单位置和间距
1 parent a676136 commit 25b90fa

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/renderer/layout/AppLayout.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ provide('openPlaylistDrawer', openPlaylistDrawer);
146146
overflow: auto;
147147
display: block;
148148
flex: none;
149+
padding-bottom: 70px;
149150
}
150151
}
151152
</style>

src/renderer/layout/components/AppMenu.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,16 +113,18 @@ const isText = ref(false);
113113
.app-menu {
114114
max-width: 100%;
115115
width: 100vw;
116-
position: relative;
117-
z-index: 999999;
116+
position: fixed;
117+
bottom: 0;
118+
left: 0;
119+
z-index: 99999;
118120
@apply bg-light dark:bg-black border-t border-gray-200 dark:border-gray-700;
119121
120122
&-header {
121123
display: none;
122124
}
123125
124126
&-list {
125-
@apply flex justify-between;
127+
@apply flex justify-between px-4;
126128
}
127129
128130
&-item {

0 commit comments

Comments
 (0)