diff --git a/src/components/Consents/DowloadModal.tsx b/src/components/Consents/DowloadModal.tsx index e97617028b2158ada585cc08ac614c15af090a19..b5e6132910d970621d396130deb008a4fe2adc88 100644 --- a/src/components/Consents/DowloadModal.tsx +++ b/src/components/Consents/DowloadModal.tsx @@ -32,7 +32,7 @@ const DownloadModal: React.FC<DownloadModalProps> = ({ l'utiliser qu'en cas de contrôle de la part d'Enedis et à supprimer ce fichier ensuite de tout ordinateur. </div> - <div className={styles.buttons}> + <div className="buttons"> <Button variant="outlined" onClick={toggleOpenModal}> Annuler </Button> diff --git a/src/components/Consents/DownloadModal.module.scss b/src/components/Consents/DownloadModal.module.scss index f207b0a861db492e471315eb770464532f882866..803a9e7a0e37def046c2fcf280294e32f25c8d7b 100644 --- a/src/components/Consents/DownloadModal.module.scss +++ b/src/components/Consents/DownloadModal.module.scss @@ -18,16 +18,4 @@ .text2 { color: $text-dark; } - - .buttons { - margin-top: 1rem; - display: flex; - justify-content: center; - align-items: center; - gap: 2rem; - - button { - margin: 0; - } - } } diff --git a/src/components/Newsletter/newsletter.scss b/src/components/Newsletter/newsletter.scss index 80eede524ef24f14685ab947bfec4ddc2dc784c6..2c43170fcac7ace2fc11fff5045149333d9b3d38 100644 --- a/src/components/Newsletter/newsletter.scss +++ b/src/components/Newsletter/newsletter.scss @@ -17,16 +17,6 @@ .content { padding: 1rem; } - hr { margin: 2rem 0rem; } -.buttons { - display: flex; - @media screen and (max-width: $width-tablet) { - flex-direction: column; - button { - width: 100%; - } - } -} diff --git a/src/components/Popups/Popups.tsx b/src/components/Popups/Popups.tsx index f5c863b26b5f6941331814a1ed6c3b1123f96083..62922aebcf65fc221e3e6b6541bd8d9e9eb25a89 100644 --- a/src/components/Popups/Popups.tsx +++ b/src/components/Popups/Popups.tsx @@ -359,6 +359,7 @@ const Popups: React.FC = () => { name: 'age', id: 'uncontrolled-native', }} + onChange={event => handleSelectChange(event)} > {OPTIONS.map(option => ( <option diff --git a/src/components/Popups/popups.scss b/src/components/Popups/popups.scss index e54526d973b3b3e8fe9079451eb8a3a2e33ec7dc..0071eb96daa5cfba37bc16abb470e22a596c33d0 100644 --- a/src/components/Popups/popups.scss +++ b/src/components/Popups/popups.scss @@ -38,10 +38,3 @@ gap: 1rem; } } - -.buttons { - margin-top: 2rem; - display: flex; - justify-content: center; - gap: 1rem; -} diff --git a/src/components/Prices/prices.scss b/src/components/Prices/prices.scss index 437c5297a7d9c0cbd3dbbd5d3ae7f9689452a266..eabf44ca432c77e451490c17341bc01347b4eb01 100644 --- a/src/components/Prices/prices.scss +++ b/src/components/Prices/prices.scss @@ -7,7 +7,6 @@ .title { margin: 1rem 0; } - h2 { color: $gold; } @@ -44,7 +43,6 @@ width: 20px; margin-left: 0.5rem; transition: all 0.3s ease-out; - &.icon-active { transform: rotate(180deg); } diff --git a/src/styles/index.scss b/src/styles/index.scss index 49d44ad010a235ce7a08e4cdb99c61e6bd06ccfa..a2737a1a62ff3ee17035b3d242f9e1263823dc66 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -28,3 +28,11 @@ h3 { } } } + +.buttons { + margin-top: 1rem; + display: flex; + justify-content: center; + gap: 1rem; + flex-wrap: wrap; +}