feat(component/header): extract some css into seperate file

This commit is contained in:
Runjuu
2020-11-12 14:08:40 +08:00
parent 792905832d
commit f05a77a31b
4 changed files with 188 additions and 116 deletions

View File

@@ -150,7 +150,7 @@
search-q (state/sub :search/q)
show-result? (boolean (seq search-result))]
(rum/with-context [[t] i18n/*tongue-context*]
[:div#search.flex-1.flex.ml-0.md:ml-12
[:div#search.flex-1.flex
[:div.flex.md:ml-0
[:label.sr-only {:for "search_field"} (t :search)]
[:div#search-wrapper.relative.w-full.text-gray-400.focus-within:text-gray-600