Skip to content

Commit

Permalink
Merge pull request 'Fix horizontal scroll' (#1159) from gro2bl/Plume:…
Browse files Browse the repository at this point in the history
…fix_horizontal_scroll into main

Reviewed-on: https://git.joinplu.me/Plume/Plume/pulls/1159
Reviewed-by: trinity-1686a <trinity-1686a@[email protected]>
  • Loading branch information
trinity-1686a committed Oct 2, 2024
2 parents d9464d1 + 42e6671 commit b486178
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions assets/themes/default/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ body > header {
flex-direction: row;
align-items: center;

&.right-nav {
overflow-x: hidden;
}

hr {
height: 100%;
width: 0.2em;
Expand Down
2 changes: 1 addition & 1 deletion templates/base.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<hr/>
@:header()
</nav>
<nav>
<nav class="right-nav">
@if ctx.2.is_some() {
<a href="@uri!(search::search: _)">
<i class="icon icon-search"></i>
Expand Down

0 comments on commit b486178

Please sign in to comment.