Fix PhysicalSample vertical scrolling

This commit is contained in:
Timothée Goguely 2024-12-18 16:01:01 +01:00
parent d64e8185e7
commit 6abeddb914
3 changed files with 12 additions and 8 deletions

View file

@ -108,7 +108,7 @@
.dialog#physical-sample {
--dialog-header-h: 15rem;
--dialog-background: var(--color-grey-50);
padding: var(--space-32);
padding: var(--space-32) var(--space-32) 0;
overflow-y: auto;
}
.dialog#physical-sample [data-pc-section="header"] {
@ -129,8 +129,8 @@
top: var(--space-40);
right: var(--space-40);
}
.dialog#physical-sample [data-pc-name="content"] {
height: auto;
.dialog#physical-sample .overflow-y {
border-radius: var(--rounded-xl) var(--rounded-xl) 0 0;
}
@media (min-width: 90rem) {
.dialog#physical-sample .masonry {

View file

@ -3,7 +3,9 @@
.overflow-hidden {
overflow: hidden;
}
.overflow-y {
overflow-y: auto;
}
.overflow-y-hidden {
overflow-y: hidden !important;
}