mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix: prevent graph-panel legend overflowing container (#28254)
This commit is contained in:
parent
64f46d6a28
commit
df28cc69b4
@ -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 @@
|
|||||||
|
|
||||||
.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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user