-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prend en compte le statut de la session collaborative
Bloque l'édition et le fait de pouvoir quitter la session collaborative (et donc de sauvegarder le contenu de l'éditeur texte) tant que la session collaborative n'est pas démarrée.
- Loading branch information
1 parent
d699f90
commit 698b6e1
Showing
4 changed files
with
79 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
front/src/components/collaborative/CollaborativeEditorWebSocketStatus.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,28 @@ | ||
.dot { | ||
font-size: 0.8rem !important; | ||
|
||
:global { | ||
.label { | ||
display: flex; | ||
gap: 0.25rem; | ||
} | ||
} | ||
} | ||
|
||
.loadingIndicator { | ||
height: 1em; | ||
width: 1em; | ||
animation: rotation 2.5s; | ||
animation-iteration-count: infinite; | ||
animation-timing-function: linear; | ||
flex-shrink: 0; | ||
} | ||
|
||
@keyframes rotation { | ||
from { | ||
transform: rotate(0deg); | ||
} | ||
to { | ||
transform: rotate(359deg); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters