mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-11 12:58:35 +03:00
move cover over loading
This commit is contained in:
@@ -308,6 +308,11 @@ class Dashboard extends React.Component {
|
||||
}
|
||||
/>
|
||||
) : null}
|
||||
<LoadingOverlay
|
||||
isLoading={app.loading || app.flags.isFetchingDomain}
|
||||
ui={app.flags.isFetchingDomain}
|
||||
language={app.language}
|
||||
/>
|
||||
{features.USE_COVER && (
|
||||
<StaticPage showing={app.flags.isCover}>
|
||||
{/* enable USE_COVER in config.js features, and customise your header */}
|
||||
@@ -315,11 +320,6 @@ class Dashboard extends React.Component {
|
||||
<TemplateCover showing={app.flags.isCover} showAppHandler={actions.toggleCover} />
|
||||
</StaticPage>
|
||||
)}
|
||||
<LoadingOverlay
|
||||
isLoading={app.loading || app.flags.isFetchingDomain}
|
||||
ui={app.flags.isFetchingDomain}
|
||||
language={app.language}
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ $xxxlarge: 32px;
|
||||
|
||||
// z-index levels
|
||||
$final-level: 10000;
|
||||
$loading-overlay: 1000;
|
||||
$loading-overlay: 500;
|
||||
$overheader: 100;
|
||||
$header: 10;
|
||||
$map-overlay: 2;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
width: 100%;
|
||||
opacity: 1;
|
||||
transition: top 0.4s ease;
|
||||
z-index: $overheader + 1;
|
||||
z-index: $loading-overlay + 1;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
color: $offwhite;
|
||||
|
||||
Reference in New Issue
Block a user