feat: search options (#540)

* feat: search options

* feat: sanitize folder names

* fix: add cursor: pointer to switch

* fix: explicitly make the search bar a text input

* refactor: remove magic number

* refactor: extract Switch component to its own file

* refactor: split AppState into multiple files

* refactor: review comments
This commit is contained in:
Baptiste Grob
2021-04-06 16:48:25 +02:00
committed by GitHub
parent 275c8cbd1f
commit ed69680295
24 changed files with 672 additions and 319 deletions

View File

@@ -53,6 +53,8 @@
height: 28px;
margin-top: 14px;
position: relative;
display: flex;
align-items: center;
.filter-bar {
background-color: var(--sn-stylekit-contrast-background-color);
@@ -82,7 +84,8 @@
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 8px;
right: 32px;
cursor: pointer;
transition: background-color 0.15s linear;