0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-06 22:38:13 -05:00

Use classes instead ids on canvas.

This commit is contained in:
Andrey Antukh 2015-12-28 14:31:17 +02:00
parent 45e63c385f
commit 9db37cfd9b
2 changed files with 10 additions and 4 deletions

View file

@ -95,7 +95,7 @@
item (first _icons/+external+)
]
(html
[:svg#page-canvas
[:svg.page-canvas
{:x wb/document-start-x
:y wb/document-start-y
:ref "canvas"
@ -105,8 +105,8 @@
;; :on-mouse-up cs/on-mouse-up
}
(background)
[:svg#page-layout
(shape item)]
[:svg.page-layout
#_(shape item)]
#_(apply vector :svg#page-layout (map shapes/shape->svg raw-shapes))
#_(when-let [shape (rum/react drawing)]
(shapes/shape->drawing-svg shape))

View file

@ -10,7 +10,13 @@
margin-right: 0;
}
#viewport, #page-canvas, #page-layout {
.viewport {
&.drawing {
cursor: cell;
}
}
.viewport, .page-canvas, .page-layout {
overflow: visible;
}
}