change gallery margins
This commit is contained in:
parent
88c5a41ef2
commit
d7dcbb2d8c
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue