Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions resources/stylesheets/viewer.css
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@
.max-w-prose { @apply max-w-[46rem] !important; }
.max-w-wide { @apply max-w-3xl !important; }

.notebook-viewer {
container-type: inline-size;
}

/* List Styles */
/* --------------------------------------------------------------- */

Expand All @@ -135,7 +139,7 @@
.code-viewer .cm-content {
@apply py-4 px-8;
}
@media (min-width: 960px){
@container (width > 959px) {
.notebook-viewer .code-viewer .cm-content {
@apply pl-12;
}
Expand Down Expand Up @@ -320,7 +324,7 @@
.sidenote-container {
@apply mb-4;
}
@media (min-width: 860px) {
@container (width > 859px) {
.sidenote sup { @apply inline; }
.sidenote-column {
@apply w-[165px] absolute right-0 top-0 -mr-[205px];
Expand Down Expand Up @@ -358,7 +362,7 @@
.result-viewer figure {
@apply mt-0 !important;
}
@media (min-width: 768px) {
@container (width > 767px) {
.devcard-desc > div {
@apply max-w-full m-0;
}
Expand Down