mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Text Panel: fixes unnecessary scroll in markdown html tables (#40315)
* Text Panel: fixes unnecessary scroll in tables * uses more robust solution that covers every edge case * chore: uses variables instead and sets first child margins to zero * override margin for only h1 and figure elements * remove override styles for h1,table markdown contents
This commit is contained in:
parent
48eacd1ea6
commit
51a48e1869
@ -213,8 +213,8 @@ a.external-link {
|
|||||||
margin-bottom: $spacer;
|
margin-bottom: $spacer;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
*:not(:first-child) {
|
||||||
margin-bottom: $spacer;
|
margin-top: $spacer;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
|
Loading…
Reference in New Issue
Block a user