SettingsRow: filter clicks when grayed out
Also increased opacity a bit as it's hard to read the subtitle which is already grayed out.
This commit is contained in:
parent
9af32a0024
commit
d13558297e
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,7 @@ export default function SettingsRow(props: Props) {
|
||||||
<div
|
<div
|
||||||
className={classnames('card__main-actions settings-row', {
|
className={classnames('card__main-actions settings-row', {
|
||||||
'section__actions--between': !multirow,
|
'section__actions--between': !multirow,
|
||||||
'opacity-30': disabled,
|
'opacity-40': disabled,
|
||||||
'card--highlightedActive': highlighted,
|
'card--highlightedActive': highlighted,
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
|
@ -40,6 +40,7 @@ export default function SettingsRow(props: Props) {
|
||||||
className={classnames('settings-row__value', {
|
className={classnames('settings-row__value', {
|
||||||
'settings-row__value--multirow': multirow,
|
'settings-row__value--multirow': multirow,
|
||||||
'settings-row__vertical-separator': useVerticalSeparator,
|
'settings-row__vertical-separator': useVerticalSeparator,
|
||||||
|
'content__non-clickable': disabled,
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
{children && children}
|
{children && children}
|
||||||
|
|
Loading…
Reference in a new issue