Fix styles

pull/645/head
Tienson Qin 2020-05-08 18:07:46 +08:00
parent d96d9f5cae
commit 685ef1220d
2 changed files with 4 additions and 2 deletions

View File

@ -66,7 +66,8 @@
"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",
:clip-rule "evenodd",
:fill-rule "evenodd"}]]]
[:input#search_field.block.w-full.h-full.pr-3.py-2.rounded-md.text-gray-900.placeholder-gray-500.focus:outline-none.focus:placeholder-gray-400.sm:text-sm
[:input#search_field.block.w-full.h-full.pr-3.py-2.rounded-md.text-gray-900.placeholder-gray-500.focus:outline-none.focus:placeholder-gray-400.sm:text-sm.bg-white.sm:bg-transparent
{:style {:padding-left "2rem"}
:placeholder "Search"
:auto-complete "off"

View File

@ -235,7 +235,8 @@
[:div.hidden.md:flex.md:flex-shrink-0
(left-sidebar header-class current-repo route-match close-fn)]
[:div.flex.flex-col.w-0.flex-1.overflow-hidden
[:div.relative.z-10.flex-shrink-0.flex.bg-white.shadow {:class header-class}
[:div.relative.z-10.flex-shrink-0.flex.bg-white.sm:bg-transparent.shadow.sm:shadow-none
{:class header-class}
[:button.px-4.border-r.border-gray-200.text-gray-400.focus:outline-none.focus:bg-gray-100.focus:text-gray-400.md:hidden
{:on-click open-fn}
[:svg.h-6.w-6