change gallery margins

This commit is contained in:
deflax 2024-01-19 05:34:33 +02:00
parent 88c5a41ef2
commit d7dcbb2d8c

View file

@ -16,19 +16,19 @@
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-around; justify-content: space-around;
margin: 20px; margin: 0px;
} }
.gallery-item { .gallery-item {
flex: 0 1 calc(33.3333% - 20px); flex: 0 1 calc(33.3333% - 20px);
margin: 10px; margin: 4px;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
cursor: pointer; cursor: pointer;
} }
.gallery-item img { .gallery-item img {
max-height: 420px; max-height: 320px;
width: 100%; width: 100%;
height: auto; height: auto;
display: block; display: block;