mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
GrafanaUI: Make Drawer extend to full height (#93725)
This commit is contained in:
parent
4791d91408
commit
d2d1de39a7
@ -256,17 +256,7 @@ const getStyles = (theme: GrafanaTheme2) => {
|
|||||||
position: 'relative',
|
position: 'relative',
|
||||||
}),
|
}),
|
||||||
drawer: css({
|
drawer: css({
|
||||||
'.main-view &': {
|
top: 0,
|
||||||
top: 80,
|
|
||||||
},
|
|
||||||
|
|
||||||
'.main-view--search-bar-hidden &': {
|
|
||||||
top: 40,
|
|
||||||
},
|
|
||||||
|
|
||||||
'.main-view--chrome-hidden &': {
|
|
||||||
top: 0,
|
|
||||||
},
|
|
||||||
|
|
||||||
'.rc-drawer-content-wrapper': {
|
'.rc-drawer-content-wrapper': {
|
||||||
boxShadow: theme.shadows.z3,
|
boxShadow: theme.shadows.z3,
|
||||||
@ -307,18 +297,7 @@ const getStyles = (theme: GrafanaTheme2) => {
|
|||||||
left: 0,
|
left: 0,
|
||||||
position: 'fixed',
|
position: 'fixed',
|
||||||
right: 0,
|
right: 0,
|
||||||
|
top: 0,
|
||||||
'.main-view &': {
|
|
||||||
top: 80,
|
|
||||||
},
|
|
||||||
|
|
||||||
'.main-view--search-bar-hidden &': {
|
|
||||||
top: 40,
|
|
||||||
},
|
|
||||||
|
|
||||||
'.main-view--chrome-hidden &': {
|
|
||||||
top: 0,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
maskMotion: css({
|
maskMotion: css({
|
||||||
|
Loading…
Reference in New Issue
Block a user