Skip to content

Commit

Permalink
Remove unnecessary style classes
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancresswell committed Oct 13, 2020
1 parent b51a5fd commit b6f3f0d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion web/src/main/frontend/components/page.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@
(for [[page modified-at] pages]
(let [encoded-page (util/encode-str page)]
[:tr {:key encoded-page}
[:td [:a.text-gray-700 {:on-click (fn [e]
[:td [:a {:on-click (fn [e]
(util/stop e)
(let [repo (state/get-current-repo)
page (db/pull repo '[*] [:page/name (string/lower-case page)])]
Expand Down
2 changes: 1 addition & 1 deletion web/src/main/frontend/components/search.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
"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.focus:outline-none.placeholder-gray-500.focus:placeholder-gray-400.sm:text-sm.bg-base-3.sm:bg-transparent
[:input#search_field.block.w-full.h-full.pr-3.py-2.rounded-md.focus:outline-none.placeholder-gray-500.focus:placeholder-gray-400.sm:text-sm.sm:bg-transparent

{:style {:padding-left "2rem"}
:placeholder (t :search)
Expand Down
4 changes: 2 additions & 2 deletions web/src/main/frontend/components/sidebar.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@
[:div {:class (if white? "white-theme" "dark-theme")
:on-click (fn []
(editor-handler/unhighlight-block!))}
[:div.h-screen.flex.overflow-hidden.bg-base-3
[:div.h-screen.flex.overflow-hidden
[:div.md:hidden
[:div.fixed.inset-0.z-30.bg-gray-600.opacity-0.pointer-events-none.transition-opacity.ease-linear.duration-300
{:class (if @open?
Expand Down Expand Up @@ -298,7 +298,7 @@
[:div.flex-1.h-0.overflow-y-auto
(sidebar-nav route-match close-fn)]]]
[:div.flex.flex-col.w-0.flex-1.overflow-hidden
[:div.relative.z-10.flex-shrink-0.flex.bg-base-3.sm:bg-transparent.shadow.sm:shadow-none.h-16.sm:h-12#head
[:div.relative.z-10.flex-shrink-0.flex.sm:bg-transparent.shadow.sm:shadow-none.h-16.sm:h-12#head
[:button#left-menu.px-4.focus:outline-none.md:hidden.menu
{:on-click (fn []
(open-fn)
Expand Down
2 changes: 1 addition & 1 deletion web/src/main/frontend/ui.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
(dropdown
content-fn
(fn [{:keys [close-fn] :as state}]
[:div.py-1.rounded-md.shadow-xs.bg-base-3
[:div.py-1.rounded-md.shadow-xs
(when links-header links-header)
(for [{:keys [options title icon]} links]
(let [new-options
Expand Down

0 comments on commit b6f3f0d

Please sign in to comment.