Commit df28cc69 by Jack Westbrook Committed by GitHub

fix: prevent graph-panel legend overflowing container (#28254)

parent 64f46d6a
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
flex-direction: row; flex-direction: row;
.graph-legend { .graph-legend {
flex: 0 1 10px; flex: 1 1 10px;
max-height: 100%; max-height: 100%;
} }
...@@ -46,10 +46,11 @@ ...@@ -46,10 +46,11 @@
.graph-legend { .graph-legend {
display: flex; display: flex;
flex: 0 1 auto; flex: 1 1 auto;
max-height: 35%; max-height: 35%;
margin: 0; margin: 0;
text-align: center; text-align: center;
overflow-y: auto;
padding-top: 6px; padding-top: 6px;
position: relative; position: relative;
......
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