Skip to content

Commit

Permalink
fix(ui): title padding on small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
RaneHyv committed Feb 26, 2024
1 parent e62732e commit eb86bbf
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions frontend/theme/extras/blocks/imageCards.less
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@
padding-right: 70px;
padding-left: 70px;
margin: 0 !important;

@media (max-width: 662px) {
padding-right: 16px;
padding-left: 16px;
}
}
.slide-copyright > p,
.slide-copyright > h2,
Expand Down Expand Up @@ -91,6 +96,11 @@
background-color: @eventTagBackgroundColor;
}
}

@media (max-width: 662px) {
padding-left: 7px;
padding-right: 7px;
}
}
.hero.slide-title{
margin-bottom: 0;
Expand All @@ -101,12 +111,18 @@
padding: 0 20px;
margin-top: 0;
margin-bottom: 10px;
text-align: left;

@media (max-width: 992px) {
font-size: 39px;
line-height: 34.32px;
margin-top: 15px;
}

@media (max-width: 662px) {
padding-left: 7px;
padding-right: 7px;
}
}
.hero.page.slide-title {
padding: 0 !important;
Expand All @@ -119,6 +135,11 @@
letter-spacing: normal;
-webkit-font-smoothing: auto;
-moz-osx-font-smoothing: auto;

@media (max-width: 662px) {
padding-left: 7px;
padding-right: 7px;
}
}
.hero.slide-description{
font-size: 22px;
Expand Down

0 comments on commit eb86bbf

Please sign in to comment.