mirror of
https://github.com/penpot/penpot.git
synced 2025-03-11 23:31:21 -05:00
Merge pull request #5197 from penpot/luis-fix-inspector-indentation-ellipsis-viewer
🐛 Fix intentation and ellipsis in the left sidebar when inspector is activated in viewer mode
This commit is contained in:
commit
283ea16627
3 changed files with 1 additions and 2 deletions
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
.workspace {
|
.workspace {
|
||||||
@extend .new-scrollbar;
|
@extend .new-scrollbar;
|
||||||
--layer-indentation-size: calc(#{$s-4} * 6);
|
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
max-height: 100vh;
|
max-height: 100vh;
|
||||||
|
|
|
@ -55,7 +55,6 @@ $assets-button-width: $s-28;
|
||||||
@include bodySmallTypography;
|
@include bodySmallTypography;
|
||||||
@include removeInputStyle;
|
@include removeInputStyle;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
max-width: calc(var(--parent-size) - (var(--depth) * var(--layer-indentation-size)));
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: var(--layer-row-foreground-color);
|
color: var(--layer-row-foreground-color);
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
@import "refactor/common-refactor.scss";
|
@import "refactor/common-refactor.scss";
|
||||||
|
|
||||||
.layer-row {
|
.layer-row {
|
||||||
|
--layer-indentation-size: calc(#{$s-4} * 6);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
Loading…
Add table
Reference in a new issue