mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
Fix icon position in application loading screen
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
parent
1937fe2418
commit
773fc60f07
2 changed files with 2 additions and 7 deletions
|
@ -8,11 +8,6 @@
|
||||||
animation: shake 0.3s ease-in-out;
|
animation: shake 0.3s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
|
||||||
width: 150px;
|
|
||||||
height: 150px;
|
|
||||||
}
|
|
||||||
|
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
|
|
||||||
|
@ -77,4 +72,4 @@
|
||||||
transform: translate(1px, -2px) rotate(-1deg);
|
transform: translate(1px, -2px) rotate(-1deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@ export interface LoadingScreenProps {
|
||||||
export const LoadingScreen: React.FC<LoadingScreenProps> = ({ failedTitle }) => {
|
export const LoadingScreen: React.FC<LoadingScreenProps> = ({ failedTitle }) => {
|
||||||
return (
|
return (
|
||||||
<div className="loader middle text-white">
|
<div className="loader middle text-white">
|
||||||
<div className="icon text-white">
|
<div className="mb-3 text-white">
|
||||||
<ForkAwesomeIcon icon="file-text" size="5x"
|
<ForkAwesomeIcon icon="file-text" size="5x"
|
||||||
className={failedTitle ? 'animation-shake' : 'animation-pulse'}/>
|
className={failedTitle ? 'animation-shake' : 'animation-pulse'}/>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue