Skip to content
Snippets Groups Projects
Commit d94600e4 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

cleanup

parent 3262841c
No related branches found
No related tags found
1 merge request!118feat(ui): use mui components and upgrade to v5
Pipeline #73281 passed
...@@ -32,7 +32,7 @@ const DownloadModal: React.FC<DownloadModalProps> = ({ ...@@ -32,7 +32,7 @@ const DownloadModal: React.FC<DownloadModalProps> = ({
l&apos;utiliser qu&apos;en cas de contrôle de la part d&apos;Enedis et l&apos;utiliser qu&apos;en cas de contrôle de la part d&apos;Enedis et
à supprimer ce fichier ensuite de tout ordinateur. à supprimer ce fichier ensuite de tout ordinateur.
</div> </div>
<div className={styles.buttons}> <div className="buttons">
<Button variant="outlined" onClick={toggleOpenModal}> <Button variant="outlined" onClick={toggleOpenModal}>
Annuler Annuler
</Button> </Button>
......
...@@ -18,16 +18,4 @@ ...@@ -18,16 +18,4 @@
.text2 { .text2 {
color: $text-dark; color: $text-dark;
} }
.buttons {
margin-top: 1rem;
display: flex;
justify-content: center;
align-items: center;
gap: 2rem;
button {
margin: 0;
}
}
} }
...@@ -17,16 +17,6 @@ ...@@ -17,16 +17,6 @@
.content { .content {
padding: 1rem; padding: 1rem;
} }
hr { hr {
margin: 2rem 0rem; margin: 2rem 0rem;
} }
.buttons {
display: flex;
@media screen and (max-width: $width-tablet) {
flex-direction: column;
button {
width: 100%;
}
}
}
...@@ -359,6 +359,7 @@ const Popups: React.FC = () => { ...@@ -359,6 +359,7 @@ const Popups: React.FC = () => {
name: 'age', name: 'age',
id: 'uncontrolled-native', id: 'uncontrolled-native',
}} }}
onChange={event => handleSelectChange(event)}
> >
{OPTIONS.map(option => ( {OPTIONS.map(option => (
<option <option
......
...@@ -38,10 +38,3 @@ ...@@ -38,10 +38,3 @@
gap: 1rem; gap: 1rem;
} }
} }
.buttons {
margin-top: 2rem;
display: flex;
justify-content: center;
gap: 1rem;
}
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
.title { .title {
margin: 1rem 0; margin: 1rem 0;
} }
h2 { h2 {
color: $gold; color: $gold;
} }
...@@ -44,7 +43,6 @@ ...@@ -44,7 +43,6 @@
width: 20px; width: 20px;
margin-left: 0.5rem; margin-left: 0.5rem;
transition: all 0.3s ease-out; transition: all 0.3s ease-out;
&.icon-active { &.icon-active {
transform: rotate(180deg); transform: rotate(180deg);
} }
......
...@@ -28,3 +28,11 @@ h3 { ...@@ -28,3 +28,11 @@ h3 {
} }
} }
} }
.buttons {
margin-top: 1rem;
display: flex;
justify-content: center;
gap: 1rem;
flex-wrap: wrap;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment