mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 03:32:36 +08:00
feat: update layout style
This commit is contained in:
parent
c501898d5f
commit
ce42e6ed49
|
@ -11,4 +11,13 @@ code {
|
|||
monospace;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
background: transparent;
|
||||
}
|
||||
*::-webkit-scrollbar-thumb {
|
||||
border-radius: 8px;
|
||||
background-color: rgba(#909399, 0.5);
|
||||
}
|
||||
|
||||
@import "./layout.scss";
|
||||
|
|
|
@ -1,19 +1,21 @@
|
|||
.layout {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
|
||||
&__sidebar {
|
||||
position: relative;
|
||||
height: 100vh;
|
||||
height: 100%;
|
||||
flex: 1 0 25%;
|
||||
max-width: 250px;
|
||||
overflow: hidden auto;
|
||||
}
|
||||
|
||||
&__content {
|
||||
flex: 1 1 75%;
|
||||
padding: 20px 30px;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden auto;
|
||||
}
|
||||
|
||||
&__traffic {
|
||||
|
|
Loading…
Reference in New Issue
Block a user