Skip to content

Commit

Permalink
Merge pull request #4331 from webkom/frontpage-alignment-mobile
Browse files Browse the repository at this point in the history
Fix header alignment on frontpage
  • Loading branch information
ollfkaih committed Nov 21, 2023
2 parents b516659 + a76e661 commit a166082
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/routes/overview/components/CompactEvents.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
white-space: nowrap;
width: 100%;
text-align: left;

@media (--small-viewport) {
flex-direction: column;
}
}

.compactLeft {
Expand Down
5 changes: 5 additions & 0 deletions app/styles/utilities.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,15 @@ html[data-theme='dark'] .contentContainer {
margin-bottom: 0.8rem;

@media (--mobile-device) {
margin-top: 0;
padding: 0;
margin-bottom: 10px;
margin-left: 0.5rem;
}

@media (--small-viewport) {
margin-top: 2rem;
}
}

.secondaryFontColor {
Expand Down

0 comments on commit a166082

Please sign in to comment.