Do not make sidebar push content
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
transition: width 0.3s;
|
||||
|
||||
> .state {
|
||||
position: fixed;
|
||||
@@ -168,12 +167,16 @@
|
||||
|
||||
> .toolarea-wrapper {
|
||||
position: fixed;
|
||||
width: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 20%;
|
||||
height: 100%;
|
||||
background-color: rgba(0,0,0,0.1);
|
||||
transition: width 0.3s;
|
||||
|
||||
&.open {
|
||||
width: 25%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,14 +1,19 @@
|
||||
[data-component='ToolAreaButton'] {
|
||||
position: absolute;
|
||||
z-index: 101;
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
right: 0;
|
||||
height: 36px;
|
||||
width: 36px;
|
||||
padding: 2rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
transition: right 0.3s;
|
||||
|
||||
&.on {
|
||||
right: 25%;
|
||||
}
|
||||
|
||||
> .button {
|
||||
flex: 0 0 auto;
|
||||
|
||||
Reference in New Issue
Block a user