mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Add a gap between shapes and lock (#569)
* Add a gap between shapes and lock The lock is a different type as the rest of the shapes, so we should visually separate it. * redesign lock icon Co-authored-by: David Luzar <luzar.david@gmail.com>
This commit is contained in:
parent
141b7409a2
commit
263fef4eaa
3 changed files with 40 additions and 21 deletions
|
@ -43,7 +43,7 @@ export function LockIcon(props: LockIconProps) {
|
|||
const sizeCn = `ToolIcon_size_${props.size || DEFAULT_SIZE}`;
|
||||
|
||||
return (
|
||||
<label className={`ToolIcon ${sizeCn}`} title={props.title}>
|
||||
<label className={`ToolIcon ToolIcon__lock ${sizeCn}`} title={props.title}>
|
||||
<input
|
||||
className="ToolIcon_type_checkbox"
|
||||
type="checkbox"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue