Commit 0aed5fca authored by Cai Wei's avatar Cai Wei

chore(*): 兼容小屏幕

parent c6060234
...@@ -559,6 +559,12 @@ onBeforeUnmount(() => { ...@@ -559,6 +559,12 @@ onBeforeUnmount(() => {
// overflow-x: hidden; // overflow-x: hidden;
position: relative; position: relative;
background-color: #181d21; background-color: #181d21;
overflow-y: auto;
overflow-x: hidden;
&::-webkit-scrollbar {
width: 2px;
background-color: rgba(58, 63, 69, 0.5);
}
.header { .header {
position: relative; position: relative;
...@@ -615,7 +621,7 @@ onBeforeUnmount(() => { ...@@ -615,7 +621,7 @@ onBeforeUnmount(() => {
.chart-container { .chart-container {
width: 100%; width: 100%;
height: calc(100% - 350px); height: calc(100% - 380px);
min-height: 200px; min-height: 200px;
max-height: calc(50vh - 50px); max-height: calc(50vh - 50px);
background-color: #000; background-color: #000;
...@@ -733,8 +739,12 @@ onBeforeUnmount(() => { ...@@ -733,8 +739,12 @@ onBeforeUnmount(() => {
padding: 10px 0; padding: 10px 0;
box-sizing: border-box; box-sizing: border-box;
overflow-x: auto; overflow-x: auto;
overflow-y: hidden;
max-height: 300px; max-height: 300px;
overflow-y: auto; &::-webkit-scrollbar {
width: 2px;
background-color: rgba(58, 63, 69, 0.5);
}
table { table {
width: 100%; width: 100%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment