mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 12:43:09 -05:00
Fix layout of the management app with the demo bar in place (#1267)
The banner in #1229 pushes the bottom bar items (including version & “change server URL” button) out of view on Netlify builds.
This commit is contained in:
@@ -94,42 +94,45 @@ class App extends Component {
|
||||
return (
|
||||
<ResponsiveProvider>
|
||||
<div
|
||||
key={hiddenScrollbars ? 'hidden-scrollbars' : 'scrollbars'}
|
||||
{...css([
|
||||
{
|
||||
height: '100%',
|
||||
backgroundColor: '#E8ECF0',
|
||||
overflow: 'hidden',
|
||||
},
|
||||
styles.lightScrollbar,
|
||||
])}
|
||||
style={{ height: '100%', display: 'flex', flexDirection: 'column' }}
|
||||
>
|
||||
{process.env.REACT_APP_REVIEW_ID && <DevelopmentTopBar />}
|
||||
|
||||
{fatalError ? (
|
||||
<>
|
||||
<AppBackground />
|
||||
<FatalError error={fatalError} buttonText="Restart app" />
|
||||
</>
|
||||
) : initializing ? (
|
||||
<AppBackground
|
||||
initializing={initializing}
|
||||
loadingText={loadingText}
|
||||
/>
|
||||
) : budgetId ? (
|
||||
<FinancesApp />
|
||||
) : (
|
||||
<>
|
||||
<div
|
||||
key={hiddenScrollbars ? 'hidden-scrollbars' : 'scrollbars'}
|
||||
{...css([
|
||||
{
|
||||
flexGrow: 1,
|
||||
backgroundColor: '#E8ECF0',
|
||||
overflow: 'hidden',
|
||||
},
|
||||
styles.lightScrollbar,
|
||||
])}
|
||||
>
|
||||
{fatalError ? (
|
||||
<>
|
||||
<AppBackground />
|
||||
<FatalError error={fatalError} buttonText="Restart app" />
|
||||
</>
|
||||
) : initializing ? (
|
||||
<AppBackground
|
||||
initializing={initializing}
|
||||
loadingText={loadingText}
|
||||
/>
|
||||
<ManagementApp isLoading={loadingText != null} />
|
||||
</>
|
||||
)}
|
||||
) : budgetId ? (
|
||||
<FinancesApp />
|
||||
) : (
|
||||
<>
|
||||
<AppBackground
|
||||
initializing={initializing}
|
||||
loadingText={loadingText}
|
||||
/>
|
||||
<ManagementApp isLoading={loadingText != null} />
|
||||
</>
|
||||
)}
|
||||
|
||||
<UpdateNotification />
|
||||
<MobileWebMessage />
|
||||
<UpdateNotification />
|
||||
<MobileWebMessage />
|
||||
</div>
|
||||
</div>
|
||||
</ResponsiveProvider>
|
||||
);
|
||||
|
||||
6
upcoming-release-notes/1267.md
Normal file
6
upcoming-release-notes/1267.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [j-f1]
|
||||
---
|
||||
|
||||
Fix the “Change server” button being invisible on Netlify deploy previews
|
||||
Reference in New Issue
Block a user