mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 01:36:29 -05:00
fix: height of loading screen
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
43a85f54ca
commit
07dd196bff
2 changed files with 6 additions and 8 deletions
|
@ -5,13 +5,11 @@
|
|||
*/
|
||||
|
||||
.loader {
|
||||
height: 100%;
|
||||
height: 100vh;
|
||||
width: 100%;
|
||||
|
||||
&.middle, .middle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ export interface LoadingScreenProps {
|
|||
*/
|
||||
export const LoadingScreen: React.FC<LoadingScreenProps> = ({ errorMessage }) => {
|
||||
return (
|
||||
<div className={`${styles.loader} ${styles.middle} text-light overflow-hidden`}>
|
||||
<div className={`${styles.loader} text-light`}>
|
||||
<div className='mb-3 text-light'>
|
||||
<span className={`d-block`}>
|
||||
<LoadingAnimation error={!!errorMessage} />
|
||||
|
|
Loading…
Reference in a new issue