0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-10 14:51:37 -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:
Andrey Antukh 2024-10-22 20:24:28 +02:00 committed by GitHub
commit 283ea16627
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1 additions and 2 deletions

View file

@ -8,7 +8,6 @@
.workspace {
@extend .new-scrollbar;
--layer-indentation-size: calc(#{$s-4} * 6);
width: 100vw;
height: 100vh;
max-height: 100vh;

View file

@ -55,7 +55,6 @@ $assets-button-width: $s-28;
@include bodySmallTypography;
@include removeInputStyle;
flex-grow: 1;
max-width: calc(var(--parent-size) - (var(--depth) * var(--layer-indentation-size)));
margin: 0;
color: var(--layer-row-foreground-color);
}

View file

@ -7,6 +7,7 @@
@import "refactor/common-refactor.scss";
.layer-row {
--layer-indentation-size: calc(#{$s-4} * 6);
display: flex;
flex-direction: row;
align-items: center;