mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
fixed save button
This commit is contained in:
parent
6af37040d4
commit
bbb628a24a
2 changed files with 6 additions and 3 deletions
|
@ -100,7 +100,7 @@ class Component extends React.PureComponent<Props, void> {
|
|||
</button>
|
||||
|
||||
<button
|
||||
className={classnames({ primary: changed, disabled: !changed })}
|
||||
className={classnames({ primary: changed, inactive: !changed })}
|
||||
onClick={this.startSaveMode}
|
||||
>
|
||||
<span className="desktop-only">СОХРАНИТЬ</span>
|
||||
|
|
|
@ -93,15 +93,18 @@
|
|||
}
|
||||
}
|
||||
|
||||
&.disabled {
|
||||
&.disabled, &.inactive {
|
||||
color: #999999;
|
||||
pointer-events: none;
|
||||
|
||||
svg {
|
||||
fill: #999999;
|
||||
}
|
||||
}
|
||||
|
||||
&.disabled {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
&.highlighted {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue