mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Responsify content-navigation bar
This commit is contained in:
parent
491e33450e
commit
c0673f8314
2 changed files with 15 additions and 3 deletions
|
@ -641,3 +641,15 @@ hr {
|
|||
color: #000000;
|
||||
}
|
||||
|
||||
#content-navigation {
|
||||
overflow-x: scroll;
|
||||
overflow-y: hidden;
|
||||
white-space: nowrap;
|
||||
|
||||
-ms-overflow-style: none;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
#content-navigation::-webkit-scrollbar {
|
||||
display: none; /* Safari and Chrome */
|
||||
}
|
|
@ -157,12 +157,12 @@
|
|||
<% end %>
|
||||
|
||||
<% if !channel.auto_generated %>
|
||||
<li class="pure-menu-item navbar" style="margin: 0 0 0 0.5em">
|
||||
<li class="pure-menu-item" style="margin: 0 0 0 0.5em">
|
||||
<div class="searchbar">
|
||||
<form class="pure-form" action="/search" method="get">
|
||||
<fieldset>
|
||||
<button class="search-button"><i class="icon ion-md-search"></i></button>
|
||||
<input type="search" name="q" placeholder="<%= translate(locale, "search") %>" value="<%= env.get?("search").try {|x| HTML.escape(x.as(String)) } %>">
|
||||
<button class="search-button" style="display: inline;"><i class="icon ion-md-search"></i></button>
|
||||
<input type="search" name="q" placeholder="<%= translate(locale, "search") %>" style="display: inline;" value="<%= env.get?("search").try {|x| HTML.escape(x.as(String)) } %>">
|
||||
<input type="hidden" name="channel" value="<%= channel.ucid %>">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
|
Loading…
Reference in a new issue