core-components: roll back page changes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'@backstage/core-components': patch
|
||||
---
|
||||
|
||||
Added `noHeader` prop to `PageWithHeader` that prevents rendering of the header. This is intended to simplify migration to the new `@backstage/ui` page layout and recommended when rendering a page in the new frontend system.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'@backstage/core-components': minor
|
||||
---
|
||||
|
||||
The `Page` component now limits the height of the content to `100%` of the available space. This ensures that adding additional vertical elements doesn't cause scrollbars due to the default `100vh` height.
|
||||
@@ -30,14 +30,12 @@ const useStyles = makeStyles(
|
||||
gridTemplateColumns: 'auto 1fr auto',
|
||||
overflowY: 'auto',
|
||||
height: '100vh',
|
||||
maxHeight: '100%',
|
||||
[theme.breakpoints.down('xs')]: {
|
||||
height: '100%',
|
||||
},
|
||||
'@media print': {
|
||||
display: 'block',
|
||||
height: 'auto',
|
||||
maxHeight: 'none',
|
||||
overflowY: 'inherit',
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user