Skip to content

Commit

Permalink
wip pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
mamarmite committed Mar 2, 2025
1 parent 82b35f0 commit 0bf8c2c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/authentification/components/Forms/Login/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const Login = () => {
<section className={`header-less-page ${styles.authPage}`}>

{/* Spinner to display when the app is waiting for the api*/}
{isLoading && <Spinner fixed className={"bg-secondary"} />}
{isLoading && <Spinner fixed className={"bg-primary-lighter"} />}

<form onSubmit={authSubmitHandler} className="bg-primary-lighter rounded">
<div className={"d-flex flex-column"}>
Expand Down
2 changes: 1 addition & 1 deletion src/authentification/components/Forms/Register/Register.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const Register = () => {
return (
<>

{ isLoading && <Spinner className={"bg-secondary"} />}
{ isLoading && <Spinner className={"bg-primary-lighter"} />}

<form className="bg-primary-lighter rounded form-box-shadow p-4" onSubmit={submitHandler}>

Expand Down
2 changes: 1 addition & 1 deletion src/common/widgets/loading/DefaultSpinner.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
width: 100%;
height: 100%;
background-color: opacify($secondary, 0.631);
z-index: $zindex-popover;
z-index: $zindex-tooltip;

display: flex;
justify-content: center;
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useFormUtils/useFormUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export const useFormUtils = ( initialState, actions ) => {
{ innerMessage }
</div>
}
{ isLoading && <Spinner className={"bg-secondary"} fixed={fixedSpinner} /> }
{ isLoading && <Spinner className={"bg-primary-lighter"} fixed={fixedSpinner} /> }
</>
)

Expand Down
18 changes: 2 additions & 16 deletions src/hooks/useModal/Modal/Modal.module.scss
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
/*
Styling for the Modal component
*/
//Styling for the Modal component

.modal {

border: none;
border-radius: 0.25rem;
padding: 2rem; /* Default */
margin: auto;
overflow: auto;

/*
Width
*/
width: 95%; /* Prevent from touching the sides */
width: 95%;/* Prevent from touching the sides */

&.default-width {
max-width: 50ch; /* Fallback value if the navigator doesn't support the clamp */
Expand All @@ -26,18 +18,12 @@
box-shadow: 1px 1px 3px 2px rgba(0,0,0,0.27);

&.transparent-background::backdrop{

background: rgb(43, 43, 87);
opacity: 0.5;

}

.modal__close-button--container {
display: flex;
justify-content: flex-end;
}




}

0 comments on commit 0bf8c2c

Please sign in to comment.