canvas frame 높이 수정
This commit is contained in:
parent
f3f2c9183e
commit
aaa788b158
@ -2,7 +2,7 @@
|
||||
export default function CanvasFrame () {
|
||||
return(
|
||||
<div className="canvas-frame">
|
||||
<div className="canvas-container" style={{position: 'relative', width: '500px', height: '500px'}}>
|
||||
<div className="canvas-container" style={{position: 'relative', width: '1600px', height: '1000px'}}>
|
||||
<canvas></canvas>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -309,12 +309,12 @@
|
||||
padding-top: 46.8px;
|
||||
transition: all .17s ease-in-out;
|
||||
.canvas-frame{
|
||||
height: 86.3vh;
|
||||
height: calc(100vh - 129.3px);
|
||||
}
|
||||
&.active{
|
||||
padding-top: calc(46.8px + 50px);
|
||||
.canvas-frame{
|
||||
height: 81vh;
|
||||
height: calc(100vh - 179.4px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user