mirror of
https://github.com/penpot/penpot.git
synced 2026-09-09 13:39:02 +00:00
💄 Avoid code tab overflow (#7854)
This commit is contained in:
parent
c3a9919c4d
commit
529c4eb38a
@ -14,7 +14,6 @@
|
|||||||
padding-bottom: deprecated.$s-16;
|
padding-bottom: deprecated.$s-16;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
scrollbar-gutter: stable;
|
|
||||||
padding-inline: var(--sp-m);
|
padding-inline: var(--sp-m);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -30,8 +30,8 @@
|
|||||||
|
|
||||||
.tool-windows {
|
.tool-windows {
|
||||||
block-size: 100%;
|
block-size: 100%;
|
||||||
display: flex;
|
display: grid;
|
||||||
flex-direction: column;
|
grid-template-rows: auto 1fr;
|
||||||
gap: var(--sp-s);
|
gap: var(--sp-s);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -150,7 +150,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.inspect-content {
|
.inspect-content {
|
||||||
flex: 1;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -158,6 +157,5 @@
|
|||||||
--tabs-nav-padding-inline-start: 0;
|
--tabs-nav-padding-inline-start: 0;
|
||||||
--tabs-nav-padding-inline-end: var(--sp-m);
|
--tabs-nav-padding-inline-end: var(--sp-m);
|
||||||
|
|
||||||
block-size: calc(100vh - px2rem(200)); // TODO: Fix this hardcoded value
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|||||||
11
frontend/src/app/main/ui/inspect/styles.scss
Normal file
11
frontend/src/app/main/ui/inspect/styles.scss
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
//
|
||||||
|
// Copyright (c) KALEIDOS INC
|
||||||
|
|
||||||
|
@use "ds/_utils.scss" as *;
|
||||||
|
|
||||||
|
.styles-tab {
|
||||||
|
block-size: calc(100vh - px2rem(200)); // TODO: Fix this hardcoded value
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user