Skip to content

Commit 9aae960

Browse files
authored
Merge pull request #11 from DryIce-cc/main
fix: 移除双滚动条
2 parents 97fe021 + c36e4de commit 9aae960

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

src/pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@
649649
</v-btn>
650650
</v-card-actions>
651651
</v-card> </v-dialog
652-
><br /><br /><br /><br /><br /><br />
652+
><br /><br /><br />
653653
</template>
654654

655655
<script>

src/styles/global.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ html {
6060
scroll-behavior: smooth;
6161
}
6262

63+
.v-app-bar {
64+
position: fixed !important;
65+
}
66+
6367
// 触摸友好的列表项
6468
.touch-list-item {
6569
min-height: 56px;

src/styles/index.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,6 @@
185185
}
186186
}
187187

188-
/* 确保容器高度不超过视口 */
189-
.main-window {
190-
max-height: calc(100vh - 80px);
191-
overflow-y: auto;
192-
}
193-
194188
/* 优化滚动条样式 */
195189
.main-window::-webkit-scrollbar {
196190
width: 8px;

0 commit comments

Comments
 (0)