Skip to content

Commit

Permalink
[dropdown] Use a :span, not an :a
Browse files Browse the repository at this point in the history
This avoids some bootstrap css for underlining, which is hard to
override.
  • Loading branch information
kimo-k committed Jul 11, 2024
1 parent 3fb7876 commit 902fcd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/re_com/dropdown.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
:description "alpha"}]))

(defn anchor [{:keys [label placeholder state theme transition!]}]
[:a (theme/props {:state state :part ::anchor :transition! transition!} theme)
[:span (theme/props {:state state :part ::anchor :transition! transition!} theme)
(or label placeholder)])

(defn backdrop [{:keys [state transition!]}]
Expand Down

0 comments on commit 902fcd8

Please sign in to comment.