Skip to content

Commit

Permalink
improved mobile styles
Browse files Browse the repository at this point in the history
  • Loading branch information
lovretomic committed Feb 7, 2025
1 parent e7fe8f8 commit 25d6f49
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
10 changes: 10 additions & 0 deletions apps/app/src/pages/SchedulePage/SchedulePage.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

.contentWrapper {
width: 100%;
flex-grow: 1;
border-radius: 16px 16px 0px 0px;
background-color: $primary-background;
box-sizing: border-box;
Expand All @@ -49,6 +50,15 @@
display: flex;
flex-direction: column;
gap: 24px;

.noEvents {
@include paragraph-16;
word-wrap: break-word;
overflow-wrap: break-word;
width: 90%;
margin: 0 auto;
text-align: center;
}
}
}
}
6 changes: 6 additions & 0 deletions apps/app/src/pages/SchedulePage/SchedulePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ export const SchedulePage = () => {
event={event}
/>
))}

{filteredEvents.length === 0 && (
<p className={c.noEvents}>
Trenutno ne postoji niti jedan događaj koji odgovara ovom filtru.
</p>
)}
</section>
</div>
</main>
Expand Down

0 comments on commit 25d6f49

Please sign in to comment.