mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 08:50:57 -05:00
🐛 Fix collapsable palette position
This commit is contained in:
parent
5cbb3f76c7
commit
4c9174969f
1 changed files with 56 additions and 53 deletions
|
@ -39,10 +39,7 @@
|
|||
&.wide {
|
||||
width: 100%;
|
||||
}
|
||||
&.mid-palette,
|
||||
&.small-palette {
|
||||
grid-template-columns: $s-64 auto 1fr;
|
||||
}
|
||||
|
||||
.resize-area {
|
||||
grid-area: resize;
|
||||
height: $s-8;
|
||||
|
@ -108,7 +105,9 @@
|
|||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
.handler {
|
||||
}
|
||||
|
||||
.handler {
|
||||
@include buttonStyle;
|
||||
@include flexCenter;
|
||||
width: $s-12;
|
||||
|
@ -122,17 +121,22 @@
|
|||
border-radius: $s-4;
|
||||
background-color: var(--palette-handler-background-color);
|
||||
}
|
||||
}
|
||||
&.hidden-bts {
|
||||
right: 10px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.mid-palette,
|
||||
.small-palette {
|
||||
grid-template-columns: $s-64 auto 1fr;
|
||||
}
|
||||
|
||||
.hidden-bts {
|
||||
right: $s-2;
|
||||
z-index: $z-index-1;
|
||||
width: 22px;
|
||||
grid-template-columns: $s-8 auto 1fr;
|
||||
padding: 0;
|
||||
&.small-palette,
|
||||
&.mid-palette {
|
||||
right: 10px;
|
||||
}
|
||||
border-inline-start: 0;
|
||||
border-start-start-radius: 0;
|
||||
border-end-start-radius: 0;
|
||||
.palette-btn-list {
|
||||
opacity: $op-0;
|
||||
visibility: hidden;
|
||||
|
@ -159,5 +163,4 @@
|
|||
.handler {
|
||||
padding-bottom: $s-8;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue