From b5bfd574de4f470a437d97bd2d7a2b443b39ca3b Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Fri, 23 Aug 2024 14:46:14 +0200 Subject: [PATCH] fix(button): small icononly variant isn't quadratic --- .../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 {