mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Page/Body: Only show scrollbar lane gutter when needed (#92186)
* Page/Body: Only show scrollbar lane gutter when needed * Update packages/grafana-ui/src/themes/GlobalStyles/elements.ts Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com> --------- Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
parent
8d725a641c
commit
4bc64dd747
@ -35,7 +35,7 @@ export function getElementStyles(theme: GrafanaTheme2) {
|
||||
// Need type assertion here due to the use of !important
|
||||
// see https://github.com/frenic/csstype/issues/114#issuecomment-697201978
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
||||
overflowY: 'scroll !important' as 'scroll',
|
||||
overflowY: 'auto !important' as 'auto',
|
||||
paddingRight: '0 !important',
|
||||
'@media print': {
|
||||
overflow: 'visible',
|
||||
|
Loading…
Reference in New Issue
Block a user