Skip to content

Extend left sidebar background to full width #293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions sass/_valkey.scss
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,10 @@ p {
}
}

.left-aside-bg {
background: linear-gradient(to left, #e2e8f0 49%, #f1f0fa 50%);
}

.left-aside {
background-color: #e2e8f0;
display: flex;
Expand Down
20 changes: 11 additions & 9 deletions templates/left-aside.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@

{% block content %}
{% block subhead_content %}{% endblock subhead_content %}
<div class="left-aside">
<main>
<div class="main-inner">
{% block main_content %}{% endblock main_content %}
</div>
</main>
<aside>
{% block related_content %}{% endblock related_content %}
</aside>
<div class="left-aside-bg">
<div class="left-aside">
<main>
<div class="main-inner">
{% block main_content %}{% endblock main_content %}
</div>
</main>
<aside>
{% block related_content %}{% endblock related_content %}
</aside>
</div>
</div>
{% endblock content %}