Skip to content

Commit

Permalink
More flexibility on front page events layout
Browse files Browse the repository at this point in the history
  • Loading branch information
andmor- committed Nov 30, 2023
1 parent 8e54310 commit cfba174
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions scss/modules/events.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
.view-upcoming-events {
.node {
@media (min-width: #{$screen-tablet}) {
align-items: center;
display: flex;
flex-flow: row;
}
Expand All @@ -13,9 +12,9 @@
padding: 15px 0;

@media (min-width: #{$screen-tablet}) {
margin-bottom: 15px;
margin-bottom: 5px;
margin-top: 10px;
padding: 15px 0;
padding: 10px 0;
}

&:first-child {
Expand All @@ -30,7 +29,7 @@
}

.event-date {
padding-bottom: 5px;
padding: 10px 0;

@media (min-width: #{$screen-tablet}) {
flex: 1 1 25%;
Expand Down Expand Up @@ -62,7 +61,7 @@
.event-details {
@media (min-width: #{$screen-tablet}) {
flex: 1 1 50%;
padding: 0 15px;
padding: 10px 15px;
}
}

Expand Down

0 comments on commit cfba174

Please sign in to comment.