0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00

Fixed AdminX loading failure screen layout (#19072)

no issue

This was broken when adding the AdminX demo app - it would no longer
display at full height.
This commit is contained in:
Jono M 2023-11-21 10:26:34 +00:00 committed by GitHub
parent b6519e0f1f
commit baa62c0bed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -236,7 +236,7 @@ export default class AdminXComponent extends Component {
ReactComponent = () => {
const fallback = (
<div className="admin-x-settings-container--loading" style={{
width: '100vw',
width: '100%',
height: '100vh',
display: 'flex',
alignItems: 'center',

View file

@ -2212,7 +2212,7 @@ section.gh-ds h2 {
}
.admin-x-container-error {
height: 100%;
height: 100vh;
width: 100%;
display: flex;
align-items: center;
@ -2226,7 +2226,7 @@ section.gh-ds h2 {
flex-direction: column;
align-items: flex-start;
gap: 20px;
background: white;
background: var(--white);
box-shadow: var(--box-shadow-m);
border-radius: 20px;
padding: 5vmin;