remove: additional conditional class small-label

not needed anymore
This commit is contained in:
kKaskak 2024-01-02 11:05:42 +02:00
parent 374f468904
commit d3913e6d52
2 changed files with 2 additions and 2 deletions

View file

@ -84,7 +84,7 @@ const ModalDialog = ({ className, title, buttons, children, dataset, onCloseRequ
}
{
typeof label === 'string' && label.length > 0 ?
<div className={classnames(buttons.length > 2 ? styles['small-label'] : styles['label'])}>{label}</div>
<div className={styles['label']}>{label}</div>
:
null
}

View file

@ -117,7 +117,7 @@
color: var(--primary-foreground-color);
}
.label, .small-label {
.label {
flex-grow: 0;
flex-shrink: 1;
flex-basis: auto;