feat(gallery): small ui adjustments

This commit is contained in:
Lisa Durand 2024-04-15 17:24:18 +02:00 committed by Eric Leroy-Terquem
parent 321d198f64
commit a0b172566d
No known key found for this signature in database
GPG key ID: ECE60B4C1FA2ABB3
3 changed files with 4 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View file

@ -18,13 +18,15 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
border: 1px solid var(--border-default-grey);
background-color: var(--border-default-grey);
img { img {
position: relative; position: relative;
z-index: 1; z-index: 1;
} }
.fr-icon-eye { .fr-btn {
position: absolute; position: absolute;
z-index: 10; z-index: 10;
background-color: var(--background-default-grey); background-color: var(--background-default-grey);
@ -48,7 +50,7 @@
flex-wrap: wrap; flex-wrap: wrap;
.gallery-item { .gallery-item {
margin: 1.5rem 2rem; margin: 0 2rem 1.5rem 0;
} }
img { img {
@ -63,10 +65,6 @@
width: 150px; width: 150px;
} }
.gallery-item {
margin-bottom: 2rem;
}
.fr-download { .fr-download {
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
} }