mirror of
https://github.com/penpot/penpot.git
synced 2025-06-22 23:17:00 +02: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;
|
background-color: $canvas-bg;
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
/* width: 100%; */
|
||||||
padding: 0 230px 0 230px;
|
/* padding: 0 230px 0 230px; */
|
||||||
position: relative;
|
/* position: relative; */
|
||||||
|
width: calc(100% - 460px);
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
position: fixed;
|
||||||
|
right: 230px;
|
||||||
|
|
||||||
&.scrolling {
|
&.scrolling {
|
||||||
cursor: grab;
|
cursor: grab;
|
||||||
|
@ -57,7 +62,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-canvas {
|
.workspace-canvas {
|
||||||
height: calc(100vh - 50px);
|
height: calc(100vh - 20px);
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
transition: none;
|
transition: none;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue