Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

fix(ds): shrink dialog close button to size sm (#2309)

Guillem Arias Fauste2e384eb83395
diff --git a/app/components/DS/dialog.rb b/app/components/DS/dialog.rb
index fe26113397..d1f17e3104 100644
--- a/app/components/DS/dialog.rb
+++ b/app/components/DS/dialog.rb
@@ -142,6 +142,7 @@ class DS::Dialog < DesignSystemComponent
classes = responsive? ? "ml-auto hidden lg:flex" : "ml-auto"
render DS::Button.new(
variant: "icon",
+ size: :sm,
class: classes,
icon: "x",
title: I18n.t("ds.dialog.close"),