editor: allow clicking image to edit

Also, don't select the current block when resizing the image.
This commit is contained in:
Tienson Qin
2021-01-15 22:50:38 +08:00
parent f564cc3616
commit 43f41de1ba
4 changed files with 70 additions and 79 deletions

View File

@@ -45,18 +45,19 @@
border-radius: 4px;
opacity: .4;
user-select: none;
background: var(--ls-primary-background-color);
&.delete {
svg {
color: red;
color: #FFF;
opacity: .6;
opacity: .5;
font-weight: normal;
}
}
&:hover {
opacity: .8;
opacity: 1;
}
&:active {