mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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
Block a user