Skip to content

Commit

Permalink
Wrap compactevents on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
ollfkaih committed Nov 21, 2023
1 parent 4fc07f6 commit d31b31e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
7 changes: 3 additions & 4 deletions app/routes/overview/components/CompactEvents.css
Expand Up @@ -6,6 +6,9 @@
white-space: nowrap;
width: 100%;
text-align: left;
@media (--small-viewport) {
flex-direction: column;
}
}

.compactLeft {
Expand All @@ -16,10 +19,6 @@
.compactLeft h3 {
margin-top: 0;
}

.compactRight h3 {
margin-top: 0;
}
}

.compactLeft,
Expand Down
5 changes: 5 additions & 0 deletions app/styles/utilities.css
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 d31b31e

Please sign in to comment.