mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-08-09 00:27:21 +00:00
remove: additional conditional class small-label
not needed anymore
This commit is contained in:
parent
374f468904
commit
d3913e6d52
2 changed files with 2 additions and 2 deletions
|
|
@ -84,7 +84,7 @@ const ModalDialog = ({ className, title, buttons, children, dataset, onCloseRequ
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
typeof label === 'string' && label.length > 0 ?
|
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
|
null
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -117,7 +117,7 @@
|
||||||
color: var(--primary-foreground-color);
|
color: var(--primary-foreground-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.label, .small-label {
|
.label {
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
flex-shrink: 1;
|
flex-shrink: 1;
|
||||||
flex-basis: auto;
|
flex-basis: auto;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue