Improve design of search
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
120989b73c
commit
ea5f0dbe26
|
@ -250,7 +250,6 @@ mark {
|
|||
}
|
||||
#autocomplete {
|
||||
z-index: 1;
|
||||
right: 0;
|
||||
width: 640px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
|
@ -441,3 +440,16 @@ input.input-line, input.input-line:active {
|
|||
overflow: hidden;
|
||||
display: block;
|
||||
}
|
||||
.searchbar {
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
.field > .control {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.search.input {
|
||||
width: 400px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,10 +40,7 @@
|
|||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="level">
|
||||
<div class="level-left"></div>
|
||||
<div class="level-right">
|
||||
<div class="level-item">
|
||||
<div class="searchbar">
|
||||
<div class="field">
|
||||
<p class="control">
|
||||
<input class="search input" id="search-input" type="text" placeholder="Find a page">
|
||||
|
@ -51,8 +48,6 @@
|
|||
<div id="autocomplete" class="hide keyboard-list" tabindex="0"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="grid">
|
||||
{{ block "sidebar" . }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user