0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-03 04:49:03 -05:00

🐛 Fix viewer misalignment when expanding code tab

This commit is contained in:
Alejandro Alonso 2023-01-27 11:20:03 +01:00 committed by Alonso Torres
parent 40349c8ece
commit 3421e6ef57
2 changed files with 4 additions and 3 deletions

View file

@ -129,6 +129,7 @@ $width-settings-bar: 256px;
overflow: hidden; overflow: hidden;
flex-direction: column; flex-direction: column;
justify-content: flex-start; justify-content: flex-start;
position: relative;
} }
.inspect-svg-container { .inspect-svg-container {

View file

@ -85,7 +85,7 @@
} }
& .viewer-go-next.right-bar { & .viewer-go-next.right-bar {
right: 264px; right: 0;
} }
& .viewer-go-prev { & .viewer-go-prev {
@ -97,7 +97,7 @@
} }
& .viewer-go-prev.left-bar { & .viewer-go-prev.left-bar {
left: 256px; left: 0;
} }
& .viewer-bottom { & .viewer-bottom {
@ -111,7 +111,7 @@
z-index: 2; z-index: 2;
&.left-bar { &.left-bar {
width: calc(100% - 512px); width: 100%;
} }
.reset { .reset {