Skip to content

Commit

Permalink
Merge pull request #1797 from DSD-DBS/hide-welcome-on-small-screens
Browse files Browse the repository at this point in the history
fix: Hide welcome banner on small screens
  • Loading branch information
MoritzWeber0 authored Sep 12, 2024
2 parents 0aefcc2 + a43b2c1 commit 7fd8d6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/app/sessions/sessions.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
~ SPDX-License-Identifier: Apache-2.0
-->

<div class="mb-12"><app-welcome /></div>
<div class="mb-12 hidden tall:block"><app-welcome /></div>

<app-user-sessions-wrapper>
<div class="flex flex-wrap justify-around gap-4">
Expand Down
3 changes: 3 additions & 0 deletions frontend/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ module.exports = {
// 2*10px is the margin of the mat-card
"max-card": "calc(100vw - 2*3.9px - 2*10px)",
},
screens: {
tall: { raw: "(min-height: 945px)" },
},
},
},
plugins: [],
Expand Down

0 comments on commit 7fd8d6f

Please sign in to comment.