Merge pull request 'Fix horizontal scroll' (#1159) from gro2bl/Plume:fix_horizontal_scroll into main

Reviewed-on: https://git.joinplu.me/Plume/Plume/pulls/1159
Reviewed-by: trinity-1686a <trinity-1686a@noreply@joinplu.me>
This commit is contained in:
trinity-1686a 2024-10-02 09:26:32 +00:00
commit b486178a42
2 changed files with 5 additions and 1 deletions

View file

@ -37,6 +37,10 @@ body > header {
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
&.right-nav {
overflow-x: hidden;
}
hr { hr {
height: 100%; height: 100%;
width: 0.2em; width: 0.2em;

View file

@ -32,7 +32,7 @@
<hr/> <hr/>
@:header() @:header()
</nav> </nav>
<nav> <nav class="right-nav">
@if ctx.2.is_some() { @if ctx.2.is_some() {
<a href="@uri!(search::search: _)"> <a href="@uri!(search::search: _)">
<i class="icon icon-search"></i> <i class="icon icon-search"></i>