Skip to content

Commit 7cb5255

Browse files
authored
fix(button): small icononly variant isn't quadratic (#2736)
1 parent 40143c9 commit 7cb5255

File tree

1 file changed

+3
-1
lines changed
  • packages/db-ui-elements-stencil/src/components/db-button

1 file changed

+3
-1
lines changed

packages/db-ui-elements-stencil/src/components/db-button/db-button.scss

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
pointer-events: none;
77
}
88

9-
// Enabling to hide text next to the icon
9+
// Enabling to hide text next to the icon (the DB UI Core selector is differently, as we're using the DBIcon component here internally)
1010
button.is-icon-text-replace {
1111
@include is-icon-text-replace();
12+
13+
aspect-ratio: 1;
1214
}
1315

1416
db-icon {

0 commit comments

Comments
 (0)