feat: 设置为外层滚动

This commit is contained in:
Tim
2025-08-05 18:13:01 +08:00
parent 1edaa50732
commit 0957a5c132
21 changed files with 35 additions and 49 deletions
+5 -4
View File
@@ -397,13 +397,11 @@ export default {
<style scoped>
.home-page {
background-color: var(--background-color);
height: calc(100vh - var(--header-height));
padding-top: var(--header-height);
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
overflow-y: auto;
/* enable container queries */
container-type: inline-size;
container-name: home-page;
}
@@ -455,7 +453,6 @@ export default {
top: 1px;
z-index: 10;
background-color: var(--background-color-blur);
backdrop-filter: blur(10px);
display: flex;
flex-direction: row;
align-items: center;
@@ -736,6 +733,10 @@ export default {
font-size: 10px;
opacity: 0.5;
}
.topic-container {
position: initial;
}
}
</style>