mirror of https://github.com/grafana/grafana.git
prevent horizontal scrollbar on firefox during expand animation (#47758)
This commit is contained in:
parent
378ce4f685
commit
bb5f77703c
|
|
@ -147,6 +147,10 @@ const getAnimStyles = (theme: GrafanaTheme2, animationDuration: number) => {
|
|||
const overlayTransition = {
|
||||
...commonTransition,
|
||||
transitionProperty: 'background-color, box-shadow, width',
|
||||
// this is needed to prevent a horizontal scrollbar during the animation on firefox
|
||||
'.scrollbar-view': {
|
||||
overflow: 'hidden !important',
|
||||
},
|
||||
};
|
||||
|
||||
const backdropTransition = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue