Skip to content

Commit

Permalink
fix layout overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub committed Nov 10, 2023
1 parent 080e337 commit 6d4d9b2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
9 changes: 6 additions & 3 deletions static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@
max-width: 350px;
}

section, footer {
nav, section, footer {
max-width: 1100px;
margin: 0 auto;
}

nav {
height: 48px;
max-width: 1076px;
margin: 0 auto;
}

@media screen and (max-device-width: 769px){
main { padding-right: 0!important;}
aside { padding-left: 0!important;}
}

#notification-indicator {
Expand Down
8 changes: 4 additions & 4 deletions templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@
</header>

{% block section %}
<section class="section px-3">
<div class="columns">
<main class="column is-three-quarters">
<section class="section">
<div class="columns mx-0">
<main class="column is-three-quarters pl-0">
{% block content %}{% endblock %}
</main>
<aside class="column is-one-quarter">
<aside class="column is-one-quarter pr-0">
{% block aside %}
<div class="box">
<form id="search" action="/search" method="get">
Expand Down

0 comments on commit 6d4d9b2

Please sign in to comment.