mirror of
https://github.com/penpot/penpot.git
synced 2026-02-17 17:53:04 +00:00
📱 Make the canvas phone and tablet displayable
This commit is contained in:
@@ -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%;
|
||||
|
||||
Reference in New Issue
Block a user