0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

📱 Make the canvas phone and tablet displayable

This commit is contained in:
mathieu.brunot 2019-02-23 11:13:22 +01:00
parent ff14d05ba2
commit df376758c7
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0

View file

@ -9,9 +9,14 @@
background-color: $canvas-bg;
display: flex;
height: 100%;
width: 100%;
padding: 0 230px 0 230px;
position: relative;
/* width: 100%; */
/* padding: 0 230px 0 230px; */
/* position: relative; */
width: calc(100% - 460px);
padding: 0;
margin: 0;
position: fixed;
right: 230px;
&.scrolling {
cursor: grab;
@ -57,7 +62,7 @@
}
.workspace-canvas {
height: calc(100vh - 50px);
height: calc(100vh - 20px);
overflow: scroll;
transition: none;
width: 100%;