mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
tidy up top area
This commit is contained in:
parent
0691cbf0e2
commit
93ab3b4164
2 changed files with 12 additions and 5 deletions
|
@ -98,12 +98,15 @@
|
||||||
value={SearchRange.Collection} />
|
value={SearchRange.Collection} />
|
||||||
Collection
|
Collection
|
||||||
</label>
|
</label>
|
||||||
<label>
|
|
||||||
<input type="radio" bind:group={searchRange} value={SearchRange.Custom} />
|
|
||||||
Custom
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<input type="text" bind:value={displayedSearch} on:keyup={searchKeyUp} />
|
<input
|
||||||
|
type="text"
|
||||||
|
bind:value={displayedSearch}
|
||||||
|
on:keyup={searchKeyUp}
|
||||||
|
on:focus={() => {
|
||||||
|
searchRange = SearchRange.Custom;
|
||||||
|
}}
|
||||||
|
placeholder="Custom search" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="range-box-inner">
|
<div class="range-box-inner">
|
||||||
|
|
|
@ -65,6 +65,10 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.range-box-inner > * {
|
||||||
|
padding-right: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
.graph .area {
|
.graph .area {
|
||||||
opacity: 0.05;
|
opacity: 0.05;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
Loading…
Reference in a new issue