mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 01:36:29 -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;
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
}
|
||||
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
|
||||
|
@ -77,4 +72,4 @@
|
|||
transform: translate(1px, -2px) rotate(-1deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ export interface LoadingScreenProps {
|
|||
export const LoadingScreen: React.FC<LoadingScreenProps> = ({ failedTitle }) => {
|
||||
return (
|
||||
<div className="loader middle text-white">
|
||||
<div className="icon text-white">
|
||||
<div className="mb-3 text-white">
|
||||
<ForkAwesomeIcon icon="file-text" size="5x"
|
||||
className={failedTitle ? 'animation-shake' : 'animation-pulse'}/>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue