fix tool icon button on mobile (#1489)

This commit is contained in:
Faustino Kialungila 2020-04-26 11:45:35 +02:00 committed by GitHub
parent 2c5c770e78
commit 582d26e858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,9 +50,9 @@ export const ToolButton = React.forwardRef(function (
className={`ToolIcon_type_button ToolIcon ${sizeCn}${ className={`ToolIcon_type_button ToolIcon ${sizeCn}${
props.selected ? " ToolIcon--selected" : "" props.selected ? " ToolIcon--selected" : ""
} ${props.className || ""} ${ } ${props.className || ""} ${
props.visible props.visible || props.visible == null
? "ToolIcon_type_button--hide" ? "ToolIcon_type_button--show"
: "ToolIcon_type_button--show" : "ToolIcon_type_button--hide"
}`} }`}
title={props.title} title={props.title}
aria-label={props["aria-label"]} aria-label={props["aria-label"]}