样式修改
This commit is contained in:
1 parent
d872f4e177
commit
5c5632967c
3 files changed
+20
-2
No files matched your search
@@ -324,6 +324,18 @@
|
||||
@apply bg-background text-foreground;
|
||||
}
|
||||
|
||||
/* 打通高度链:html/body/#root 取满父级高度,使下游用 h-full(100%) 的根布局
|
||||
(PageRoutes 的 PageLayout)跟随容器尺寸而非视口。
|
||||
- 全屏:100% 逐级解析到视口,与原先的 h-screen 等价,无视觉变化;
|
||||
- 无界(wujie)等嵌套:wujie 会把子应用的 html/body 选择器作用到 <wujie-app>
|
||||
容器,于是高度收缩到容器而非整屏 —— 这正是「高度对齐容器」所需。
|
||||
只设 height、不设 overflow,因此不影响 Landing 等需要自然滚动的页面。 */
|
||||
html,
|
||||
body,
|
||||
#root {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
[data-sidebar="menu-button"][data-active="true"] {
|
||||
box-shadow: inset 3px 0 0 var(--primary);
|
||||
font-weight: 600;
|
||||
|
||||
Reference in new issue
Block a user