💄 Avoid code tab overflow (#7854)

This commit is contained in:
Xaviju
2025-12-01 11:37:37 +01:00
committed by GitHub
parent c3a9919c4d
commit 529c4eb38a
3 changed files with 13 additions and 5 deletions

View File

@@ -14,7 +14,6 @@
padding-bottom: deprecated.$s-16;
overflow-y: auto;
overflow-x: hidden;
scrollbar-gutter: stable;
padding-inline: var(--sp-m);
}

View File

@@ -30,8 +30,8 @@
.tool-windows {
block-size: 100%;
display: flex;
flex-direction: column;
display: grid;
grid-template-rows: auto 1fr;
gap: var(--sp-s);
}
@@ -150,7 +150,6 @@
}
.inspect-content {
flex: 1;
overflow: hidden;
}
@@ -158,6 +157,5 @@
--tabs-nav-padding-inline-start: 0;
--tabs-nav-padding-inline-end: var(--sp-m);
block-size: calc(100vh - px2rem(200)); // TODO: Fix this hardcoded value
overflow: auto;
}

View 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
}