Skip to content

Commit

Permalink
added styles from Loader.module.css to a global css file app.module.c…
Browse files Browse the repository at this point in the history
…ss (#3398)
  • Loading branch information
NischalPaliwal authored Jan 23, 2025
1 parent 846ce57 commit bcd7f4f
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 26 deletions.
25 changes: 0 additions & 25 deletions src/components/Loader/Loader.module.css

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/Loader/Loader.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import styles from './Loader.module.css';
import styles from '../../style/app.module.css';
import { Spinner } from 'react-bootstrap';

interface InterfaceLoaderProps {
Expand Down
27 changes: 27 additions & 0 deletions src/style/app.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7262,3 +7262,30 @@ button[data-testid='createPostBtn'] {
flex-direction: row;
justify-content: center;
}

/* Loader.tsx */
.spinner_wrapper {
height: 100vh;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}

.spinnerXl {
width: 6rem;
height: 6rem;
border-width: 0.5rem;
}

.spinnerLg {
height: 4rem;
width: 4rem;
border-width: 0.3rem;
}

.spinnerSm {
height: 2rem;
width: 2rem;
border-width: 0.2rem;
}

0 comments on commit bcd7f4f

Please sign in to comment.