Skip to content

Commit

Permalink
Adjust main padding on breakpoint xl. (#4173)
Browse files Browse the repository at this point in the history
Fixes #4172
  • Loading branch information
frjo authored Oct 24, 2024
1 parent b7d1955 commit 75ec0a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions hypha/static_src/sass/components/_admin-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
color: variables.$color--white;
background-color: variables.$color--dark-grey;

@include mixins.media-query(xl) {
padding-inline: 0;
}

&__inner {
max-width: variables.$site-width;
margin: 0 auto;
Expand Down
2 changes: 1 addition & 1 deletion hypha/templates/base-apply.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{% block header %}
<header
class="max-w-[1280px] px-4 py-2 flex gap-4 items-center justify-between mx-auto w-full"
class="max-w-[1280px] px-4 xl:px-0 py-2 flex gap-4 items-center justify-between mx-auto w-full"
x-data="{'showDesktopMenu': false, isDesktop: false, mm: null}"
x-init="mm = window.matchMedia(`(min-width: 768px)`); isDesktop = mm.matches; mm.addListener((e) => { isDesktop = e.matches }); "
>
Expand Down

0 comments on commit 75ec0a5

Please sign in to comment.