Remove VirtualSample scoped style

This commit is contained in:
Timothée Goguely 2025-02-19 17:51:31 +01:00
parent 710967f3cc
commit 825682c550
2 changed files with 8 additions and 12 deletions

View file

@ -74,10 +74,14 @@
/* Content */ /* Content */
.dialog__inner { .dialog__inner {
padding: var(--space-16);
background: var(--dialog-inner-background, #f7f7f7); background: var(--dialog-inner-background, #f7f7f7);
height: 100%; height: 100%;
overflow-y: auto; overflow-y: auto;
} }
.with-comments .dialog__inner {
margin-right: var(--dialog-comments-w, 20rem);
}
.dialog__inner .tracks-header { .dialog__inner .tracks-header {
background: var(--color-white-50); background: var(--color-white-50);
border-radius: var(--rounded-xl); border-radius: var(--rounded-xl);
@ -167,6 +171,9 @@
left: 22.5rem; left: 22.5rem;
right: 22.5rem; right: 22.5rem;
} }
.dialog#virtual-sample #comments-container {
top: var(--dialog-header-h);
}
.dialog#virtual-sample.dynamic #comments-container { .dialog#virtual-sample.dynamic #comments-container {
top: 4.5rem; top: 4.5rem;
} }
@ -180,6 +187,7 @@
height: calc(100% - 3.5rem) !important; height: calc(100% - 3.5rem) !important;
} }
/* Physical Sample */ /* Physical Sample */
.dialog#physical-sample { .dialog#physical-sample {
--dialog-header-h: 15rem; --dialog-header-h: 15rem;

View file

@ -178,15 +178,3 @@ function downloadFiles() {
}, 400); }, 400);
} }
</script> </script>
<style scoped>
.dialog__inner {
padding: var(--space-16);
}
.with-comments .dialog__inner {
margin-right: var(--dialog-comments-w, 20rem);
}
#comments-container {
top: var(--dialog-header-h);
}
</style>