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

This commit is contained in:
Jack Westbrook 2020-10-14 15:39:39 +02:00 committed by GitHub
parent 64f46d6a28
commit df28cc69b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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