From d3913e6d522e6cccb3e5354ba8f00343b05ec639 Mon Sep 17 00:00:00 2001 From: kKaskak <117831817+kKaskak@users.noreply.github.com> Date: Tue, 2 Jan 2024 11:05:42 +0200 Subject: [PATCH] remove: additional conditional class small-label not needed anymore --- src/common/ModalDialog/ModalDialog.js | 2 +- src/common/ModalDialog/styles.less | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/ModalDialog/ModalDialog.js b/src/common/ModalDialog/ModalDialog.js index 12513df1b..e7e2e8056 100644 --- a/src/common/ModalDialog/ModalDialog.js +++ b/src/common/ModalDialog/ModalDialog.js @@ -84,7 +84,7 @@ const ModalDialog = ({ className, title, buttons, children, dataset, onCloseRequ } { typeof label === 'string' && label.length > 0 ? -
2 ? styles['small-label'] : styles['label'])}>{label}
+
{label}
: null } diff --git a/src/common/ModalDialog/styles.less b/src/common/ModalDialog/styles.less index c781c2c7b..0e6fe8d9e 100644 --- a/src/common/ModalDialog/styles.less +++ b/src/common/ModalDialog/styles.less @@ -117,7 +117,7 @@ color: var(--primary-foreground-color); } - .label, .small-label { + .label { flex-grow: 0; flex-shrink: 1; flex-basis: auto;