From 7cb52552520554932287749731b0e5bb7fb8bd37 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Mon, 2 Sep 2024 12:43:26 +0200 Subject: [PATCH] fix(button): small icononly variant isn't quadratic (#2736) --- .../src/components/db-button/db-button.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/db-ui-elements-stencil/src/components/db-button/db-button.scss b/packages/db-ui-elements-stencil/src/components/db-button/db-button.scss index 67e05a7906..0797b51ed5 100644 --- a/packages/db-ui-elements-stencil/src/components/db-button/db-button.scss +++ b/packages/db-ui-elements-stencil/src/components/db-button/db-button.scss @@ -6,9 +6,11 @@ pointer-events: none; } -// Enabling to hide text next to the icon +// Enabling to hide text next to the icon (the DB UI Core selector is differently, as we're using the DBIcon component here internally) button.is-icon-text-replace { @include is-icon-text-replace(); + + aspect-ratio: 1; } db-icon {