Skip to content

Commit

Permalink
More fixes for mobile layout
Browse files Browse the repository at this point in the history
  • Loading branch information
andmor- committed Jan 20, 2024
1 parent 4506421 commit 194c368
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
5 changes: 0 additions & 5 deletions scss/modules/field.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,12 @@
}
}

.field {
padding-bottom: 1rem;
}

.field__label {
display: contents;
float: left;
font-weight: bold;
}


.field--label-inline {
.field__label {
display: inline;
Expand Down
20 changes: 10 additions & 10 deletions scss/modules/paragraphs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
font-size: 16px;
padding: 20px 0;

@media (min-width: #{$screen-tablet}) {
@media (min-width: #{$screen-lg}) {
font-size: 20px;
padding: 25px 0;
}

@media (min-width: #{$screen-tablet}) {
@media (min-width: #{$screen-lg}) {
&.image-left {
.content {
order: 2;
Expand Down Expand Up @@ -75,7 +75,7 @@
.field--name-field-link {
margin-top: 25px;

@media (min-width: #{$screen-tablet}) {
@media (min-width: #{$screen-lg}) {
margin-top: 40px;
}

Expand All @@ -90,7 +90,7 @@
line-height: 25px;
padding: 15px 60px 15px 30px;

@media (min-width: #{$screen-tablet}) {
@media (min-width: #{$screen-lg}) {
background: $dark-blue-01 url('../images/arrow-right-white.svg') no-repeat right 25px center;
background-size: 20px;
font-size: 18px;
Expand All @@ -104,7 +104,7 @@
color: $white;
text-decoration: none;

@media (min-width: #{$screen-tablet}) {
@media (min-width: #{$screen-lg}) {
background: $dark-blue-02 url('../images/arrow-right-white.svg') no-repeat right 25px center;
background-size: 20px;
}
Expand All @@ -117,7 +117,7 @@
.field--name-field-link {
margin-top: 15px;

@media (min-width: #{$screen-tablet}) {
@media (min-width: #{$screen-lg}) {
margin-top: 30px;
}

Expand Down Expand Up @@ -160,10 +160,10 @@
padding: 0;
}

.col-md-6 {
.col-lg-6 {
padding: 0;

@media (min-width: #{$screen-tablet}) {
@media (min-width: #{$screen-lg}) {
padding: 0 15px;
}
}
Expand All @@ -172,7 +172,7 @@
font-size: 23px;
margin-bottom: 20px;

@media (min-width: #{$screen-tablet}) {
@media (min-width: #{$screen-md}) {
font-size: 32px;
margin-bottom: 40px;
}
Expand Down Expand Up @@ -206,7 +206,7 @@

.field__item {
.paragraph--type--image-text {
@media (max-width: #{$screen-xs-max}) {
@media (max-width: #{$screen-md-max}) {
border-bottom: 1px solid $cold-grey-03;
}
}
Expand Down

0 comments on commit 194c368

Please sign in to comment.