Merge pull request #88 from spotify/freben/norubber

Disable the annoying rubberband 'overscroll' effect going outside of the page boundaries
This commit is contained in:
Fredrik Adelöw
2020-02-07 13:42:58 +01:00
committed by GitHub
+2 -5
View File
@@ -1,8 +1,4 @@
import {
BackstageTheme,
createApp,
InfoCard,
} from '@backstage/core';
import { BackstageTheme, createApp, InfoCard } from '@backstage/core';
//import PageHeader from './components/PageHeader';
import { LoginComponent } from '@backstage/plugin-login';
import HomePagePlugin from '@backstage/plugin-home-page';
@@ -24,6 +20,7 @@ const useStyles = makeStyles(theme => ({
body: {
height: '100%',
fontFamily: theme.typography.fontFamily,
'overscroll-behavior-y': 'none',
},
a: {
color: 'inherit',