feat: 💄 limit width of gallery and increase height on desktop
This commit is contained in:
parent
416086df7e
commit
d087d0f0b3
1 changed files with 9 additions and 2 deletions
|
@ -44,14 +44,21 @@ export default {
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import "@scss/_variables.scss";
|
@import "@scss/_variables.scss";
|
||||||
|
@import "@scss/_mixins.scss";
|
||||||
|
|
||||||
.gallery {
|
.gallery {
|
||||||
|
margin: auto;
|
||||||
|
|
||||||
|
@include mq-desktop {
|
||||||
|
max-width: 70em;
|
||||||
|
}
|
||||||
|
|
||||||
&__bigimage {
|
&__bigimage {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 40vh;
|
height: 40vh;
|
||||||
|
|
||||||
@media (min-width: 35em) {
|
@include mq-desktop {
|
||||||
height: 30em;
|
height: 80vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue