forked from tsc-vfl/hugo-page
Handle galleries view in news in mobile
This commit is contained in:
parent
08513e79d3
commit
b3c46080af
@ -373,6 +373,10 @@ h1 {
|
||||
padding: 10px;
|
||||
flex: 30% 0 0;
|
||||
// height: 30%;
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -572,6 +576,9 @@ h1 {
|
||||
align-items: center;
|
||||
justify-items: center;
|
||||
|
||||
grid-template-columns: 1fr;
|
||||
|
||||
@include media-large() {
|
||||
&.cols-2 {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
@ -581,9 +588,10 @@ h1 {
|
||||
&.cols-4 {
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
.tsc-gallery-img {
|
||||
margin: 20px;
|
||||
margin: 5px 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user