1
0
mirror of synced 2026-03-23 02:58:34 +08:00

fix(playground): 新增页面默认width height 100%

This commit is contained in:
roymondchen
2022-03-28 19:47:07 +08:00
committed by jia000
parent 30ad8502c4
commit c3f4e41cc8
9 changed files with 86 additions and 25 deletions

View File

@@ -1,8 +1,11 @@
#root {
width: fit-content;
position: relative;
margin: 0 auto;
html,
body,
#app {
width: 100%;
height: 100%;
}
::-webkit-scrollbar {
width: 0;
#app {
position: relative;
overflow: auto;
}

View File

@@ -1,11 +1,19 @@
#root {
width: fit-content;
position: relative;
margin: 0 auto;
html,
body,
#app {
width: 100%;
height: 100%;
}
::-webkit-scrollbar {
#app {
position: relative;
overflow: auto;
}
#app::-webkit-scrollbar {
width: 0;
}
.magic-ui-container {
background-color: rgba(136, 136, 136, 0.5);
}