mirror of
https://github.com/docmost/docmost.git
synced 2026-05-16 14:14:06 +08:00
refactor: Image node and view clean-up
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.imagePlaceholder {
|
||||
.imageWrapper {
|
||||
border-radius: 8px;
|
||||
@mixin light {
|
||||
background-color: var(--mantine-color-gray-0);
|
||||
|
||||
@@ -19,8 +19,8 @@ export default function ImageView(props: NodeViewProps) {
|
||||
<NodeViewWrapper data-drag-handle>
|
||||
<div
|
||||
className={clsx(
|
||||
selected ? "ProseMirror-selectednode" : "",
|
||||
classes.imagePlaceholder,
|
||||
selected && "ProseMirror-selectednode",
|
||||
classes.imageWrapper,
|
||||
alignClass,
|
||||
)}
|
||||
style={{
|
||||
|
||||
Reference in New Issue
Block a user