feat: Update ControlPanel inner content to use overflow-y: auto and max-height: 70dvh for improved scrolling and responsive sizing, and hide overflow when collapsed.
This commit is contained in:
@@ -546,12 +546,12 @@ import { ChevronDown } from "@lucide/astro";
|
|||||||
|
|
||||||
.control-panel-inner {
|
.control-panel-inner {
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
overflow: hidden;
|
overflow-y: auto;
|
||||||
transition:
|
transition:
|
||||||
max-height 0.4s ease,
|
max-height 0.4s ease,
|
||||||
opacity 0.4s ease,
|
opacity 0.4s ease,
|
||||||
padding 0.4s ease;
|
padding 0.4s ease;
|
||||||
max-height: 2000px;
|
max-height: 70dvh;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -563,6 +563,7 @@ import { ChevronDown } from "@lucide/astro";
|
|||||||
opacity: 0;
|
opacity: 0;
|
||||||
padding: 0 1.5rem;
|
padding: 0 1.5rem;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
overflow-y: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.control-panel-content {
|
.control-panel-content {
|
||||||
|
|||||||
Reference in New Issue
Block a user