Make page more responsive

alternate-navbar
Maik de Kruif 3 years ago
parent 1cfa38596d
commit 3deeed5686
Signed by: maik
GPG Key ID: 44A55AD1F0673FA6
  1. 9
      themes/maik-blog/assets/scss/_portfolios.scss

@ -1,8 +1,8 @@
.portfolios { .portfolios {
width: 100%; width: 100%;
max-width: 800px; max-width: calc(800px + 50px + 80px);
text-align: left; text-align: left;
padding: 20px; padding: 20px calc(20px + 50px + 15px);
margin: 20px auto; margin: 20px auto;
counter-reset: portfolio; counter-reset: portfolio;
@ -44,8 +44,13 @@
position: relative; position: relative;
counter-increment: portfolio; counter-increment: portfolio;
@media #{$media-size-tablet} {
flex-direction: column-reverse;
}
.read-more { .read-more {
white-space: nowrap; white-space: nowrap;
max-width: max-content;
} }
&-cover { &-cover {

Loading…
Cancel
Save