Library improvements (#1925)

Co-authored-by: David Luzar <luzar.david@gmail.com>
This commit is contained in:
Mohammed Salman 2020-07-20 00:12:56 +03:00 committed by GitHub
parent 29f803e25d
commit cf36cb394b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 38 additions and 18 deletions

View file

@ -46,7 +46,7 @@ export const LockIcon = (props: LockIconProps) => {
return (
<label
className={`ToolIcon ToolIcon__lock ToolIcon_type_floating ${sizeCn} zen-mode-visibility ${
props.zenModeEnabled && "zen-mode-visibility--hidden"
props.zenModeEnabled ? "zen-mode-visibility--hidden" : ""
}`}
title={`${props.title} — Q`}
>