summaryrefslogtreecommitdiffstats
path: root/src/components/Buttons/Buttons.module.scss
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-12-22 12:36:40 +0100
committerArmand Philippot <git@armandphilippot.com>2021-12-22 14:32:31 +0100
commit139b3a252c9f90de603be1a98e3186b359353541 (patch)
treec020013b3aec522ae378b9e57ec1326a5a829d38 /src/components/Buttons/Buttons.module.scss
parent6917a572011489aafe62c9d2479615cb2928094f (diff)
chore: replace svg imports with components
It allows me to control the colors of each SVG paths.
Diffstat (limited to 'src/components/Buttons/Buttons.module.scss')
-rw-r--r--src/components/Buttons/Buttons.module.scss9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/components/Buttons/Buttons.module.scss b/src/components/Buttons/Buttons.module.scss
index a043649..fb93d5a 100644
--- a/src/components/Buttons/Buttons.module.scss
+++ b/src/components/Buttons/Buttons.module.scss
@@ -82,10 +82,10 @@
}
.search {
- display: flex;
- place-content: center;
+ display: block;
width: var(--btn-size);
height: var(--btn-size);
+ padding: 0;
background: none;
border: none;
font-size: var(--font-size-md);
@@ -103,7 +103,10 @@
.front,
.back {
- display: block;
+ display: flex;
+ place-content: center;
+ width: var(--btn-size);
+ height: var(--btn-size);
position: absolute;
top: 0;
right: 0;