Skip to content

Commit 58905c7

Browse files
committed
fix button styles
1 parent 1566368 commit 58905c7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/renderer/notification/views.cljs

+4-3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
notifications)
3535

3636
(when (second notifications)
37-
[:button.button.overlay.px-2
38-
{:on-click #(rf/dispatch [:notification/clear-all])}
39-
"Clear all"])]))
37+
[:div.bg-primary
38+
[:button.button.overlay.px-2.rounded
39+
{:on-click #(rf/dispatch [:notification/clear-all])}
40+
"Clear all"]])]))

src/renderer/utils/error.cljs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
[:div
2525
[:h2.mb-4.font-bold error-message]
2626
[:p.text-error (str error)]
27-
[:a.button.bg-primary.px-2.w-full
27+
[:a.button.bg-primary.px-2.w-full.rounded
2828
{:target "_blank"
2929
:href (str "https://github.com/re-path/studio/issues/new?"
3030
"&title=" error

0 commit comments

Comments
 (0)