Add loading indicator to group switcher
This commit is contained in:
15
src/shared/ui/styles.module.scss
Normal file
15
src/shared/ui/styles.module.scss
Normal file
@@ -0,0 +1,15 @@
|
||||
.spinner {
|
||||
border: 2px solid rgba(255, 255, 255, 0.3);
|
||||
border-radius: 50%;
|
||||
border-left: 2px solid transparent;
|
||||
border-top: 2px solid transparent;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
animation: spin 1s linear infinite;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
Reference in New Issue
Block a user