From 0239b0a7aab8c54f4e51c9f9736ccad842ace8c9 Mon Sep 17 00:00:00 2001 From: felixw Date: Mon, 18 Sep 2023 11:47:09 +0200 Subject: [PATCH] style: format --- .../components/src/components/icon-button/icon-button.css | 2 +- .../components/src/components/icon-button/icon-button.tsx | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/components/src/components/icon-button/icon-button.css b/packages/components/src/components/icon-button/icon-button.css index caac70d3c2..381ead4c3d 100644 --- a/packages/components/src/components/icon-button/icon-button.css +++ b/packages/components/src/components/icon-button/icon-button.css @@ -167,7 +167,7 @@ input { [part~='size-standard'][part~='activate']:focus-within .icon-button--plate, [part~='size-standard'][part~='toggle']:focus-within .icon-button--plate, -[part~='size-standard'] [part~='base']:focus .icon-button--plate{ +[part~='size-standard'] [part~='base']:focus .icon-button--plate { outline: var(--focus-outline); outline-offset: var(--telekom-spacing-composition-space-01); outline-offset: 1px; diff --git a/packages/components/src/components/icon-button/icon-button.tsx b/packages/components/src/components/icon-button/icon-button.tsx index f33e896623..6e165e47d0 100644 --- a/packages/components/src/components/icon-button/icon-button.tsx +++ b/packages/components/src/components/icon-button/icon-button.tsx @@ -133,7 +133,7 @@ export class IconButton { } if (this.disabled) { - this.setDisabled(); + this.setDisabled(); } } @@ -175,9 +175,7 @@ export class IconButton {
-
- {this.label} -
+
{this.label}
) : (