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:
parent
ff14d05ba2
commit
df376758c7
1 changed files with 9 additions and 4 deletions
|
@ -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%;
|
||||
|
|
Loading…
Add table
Reference in a new issue