mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 02:51:04 +00:00
Fix nav title nowrap on mobile
This commit is contained in:
parent
e99be2c134
commit
93e3329c58
3 changed files with 30 additions and 15 deletions
|
@ -2,10 +2,13 @@
|
|||
/* ==========================================================================
|
||||
Nav
|
||||
========================================================================== */
|
||||
nav,
|
||||
.nav-wrapper {
|
||||
height: auto;
|
||||
line-height: initial;
|
||||
}
|
||||
|
||||
nav {
|
||||
height: auto;
|
||||
|
||||
input {
|
||||
color: #aaa;
|
||||
}
|
||||
|
@ -17,15 +20,25 @@ nav {
|
|||
|
||||
.nav-wrapper {
|
||||
display: flex;
|
||||
padding: 0.6rem 0.4rem 0.6rem 0.75rem;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
min-height: 64px;
|
||||
align-items: center;
|
||||
|
||||
.button-collapse {
|
||||
padding: 0 15px;
|
||||
margin-left: 0;
|
||||
margin-right: 0.5rem;
|
||||
padding: 0 0.5rem;
|
||||
height: auto;
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
|
||||
nav .nav-wrapper i {
|
||||
height: 46px;
|
||||
line-height: 46px;
|
||||
}
|
||||
|
||||
.nav-input {
|
||||
display: none;
|
||||
}
|
||||
|
@ -34,10 +47,6 @@ nav {
|
|||
display: flex;
|
||||
flex-grow: 1;
|
||||
justify-content: flex-end;
|
||||
|
||||
li {
|
||||
max-height: 64px;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-panel-add .add,
|
||||
|
@ -50,9 +59,8 @@ nav {
|
|||
transition: background 0.2s ease;
|
||||
|
||||
.action {
|
||||
padding-left: 0.75rem;
|
||||
margin: 0;
|
||||
font-size: 2.1rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.input-field input {
|
||||
|
@ -71,6 +79,11 @@ nav {
|
|||
}
|
||||
}
|
||||
|
||||
.nav-panel-top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.input-field {
|
||||
&.nav-panel-add label,
|
||||
&.nav-panel-search label {
|
||||
|
|
|
@ -94,10 +94,12 @@
|
|||
</li>
|
||||
</ul>
|
||||
<div class="nav-wrapper nav-panels">
|
||||
<a href="#" data-activates="slide-out" class="nav-panel-menu button-collapse"><i class="material-icons">menu</i></a>
|
||||
<div class="left action">
|
||||
{% block title %}
|
||||
{% endblock %}
|
||||
<div class="nav-panel-top">
|
||||
<a href="#" data-activates="slide-out" class="nav-panel-menu button-collapse"><i class="material-icons">menu</i></a>
|
||||
<h1 class="left action">
|
||||
{% block title %}
|
||||
{% endblock %}
|
||||
</h1>
|
||||
</div>
|
||||
<ul class="input-field nav-panel-buttom">
|
||||
<li class="bold">
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue