mirror of
https://gitee.com/wot-design-uni/wot-design-uni.git
synced 2025-12-06 17:18:40 +08:00
docs: ✏️ 优化侧边演示样式
This commit is contained in:
parent
5c4d8dd8dc
commit
1e14e32571
@ -230,7 +230,7 @@ watch(
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
right: 32px;
|
right: 32px;
|
||||||
top: calc(var(--vp-nav-height) + var(--vp-layout-top-height) + 32px);
|
top: calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 32px);
|
||||||
width: 330px;
|
width: 330px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
background: var(--vp-c-bg-alt);
|
background: var(--vp-c-bg-alt);
|
||||||
@ -360,7 +360,7 @@ watch(
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
right: 16px;
|
right: 16px;
|
||||||
top: calc(var(--vp-nav-height) + var(--vp-layout-top-height) + 32px);
|
top: calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 32px);
|
||||||
width: 48px;
|
width: 48px;
|
||||||
height: 48px;
|
height: 48px;
|
||||||
background: var(--vp-c-bg-alt);
|
background: var(--vp-c-bg-alt);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user