mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Revert "Dashboard: Reduce scope of contain: strict
to TextPanel (#75466)
Revert "Dashboard: Reduce scope of `contain: strict` to TextPanel (#75329)"
This reverts commit ade0de5ae9
.
This commit is contained in:
parent
896b12d422
commit
918f11d81e
@ -403,6 +403,7 @@ const getStyles = (theme: GrafanaTheme2) => {
|
||||
content: css({
|
||||
label: 'panel-content',
|
||||
flexGrow: 1,
|
||||
contain: 'strict',
|
||||
}),
|
||||
headerContainer: css({
|
||||
label: 'panel-header',
|
||||
|
@ -51,7 +51,7 @@ export function TextPanel(props: Props) {
|
||||
}
|
||||
|
||||
return (
|
||||
<CustomScrollbar autoHeightMin="100%" className={styles.containStrict}>
|
||||
<CustomScrollbar autoHeightMin="100%">
|
||||
<DangerouslySetHtmlContent
|
||||
html={processed.content}
|
||||
className={styles.markdown}
|
||||
@ -103,7 +103,4 @@ const getStyles = (theme: GrafanaTheme2) => ({
|
||||
height: 100%;
|
||||
`
|
||||
),
|
||||
containStrict: css({
|
||||
contain: 'strict',
|
||||
}),
|
||||
});
|
||||
|
@ -46,6 +46,7 @@
|
||||
padding: $panel-padding;
|
||||
width: 100%;
|
||||
flex-grow: 1;
|
||||
contain: strict;
|
||||
height: calc(100% - #{$panel-header-height});
|
||||
|
||||
&--no-padding {
|
||||
|
Loading…
Reference in New Issue
Block a user