Skip to content
Snippets Groups Projects
Commit ce42e6ed authored by GyDi's avatar GyDi
Browse files

feat: update layout style

parent c501898d
No related branches found
No related tags found
No related merge requests found
...@@ -11,4 +11,13 @@ code { ...@@ -11,4 +11,13 @@ code {
monospace; monospace;
} }
*::-webkit-scrollbar {
width: 8px;
background: transparent;
}
*::-webkit-scrollbar-thumb {
border-radius: 8px;
background-color: rgba(#909399, 0.5);
}
@import "./layout.scss"; @import "./layout.scss";
.layout { .layout {
width: 100%; width: 100%;
height: 100%; height: 100vh;
display: flex; display: flex;
&__sidebar { &__sidebar {
position: relative; position: relative;
height: 100vh; height: 100%;
flex: 1 0 25%; flex: 1 0 25%;
max-width: 250px; max-width: 250px;
overflow: hidden auto;
} }
&__content { &__content {
flex: 1 1 75%; flex: 1 1 75%;
padding: 20px 30px; height: 100%;
box-sizing: border-box; box-sizing: border-box;
overflow: hidden auto;
} }
&__traffic { &__traffic {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment