Skip to content

Commit 741af93

Browse files
committed
docs(css): fit code blocks to content width inside content tabs
1 parent a8b834a commit 741af93

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

docs/stylesheets/extra.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,9 @@ article.md-typeset img {
134134
background-color: #8E24AA;
135135
-webkit-mask-image: var(--md-admonition-icon--song-purple);
136136
mask-image: var(--md-admonition-icon--song-purple);
137-
}
137+
}
138+
139+
/* Fit code blocks to content width inside content tabs */
140+
.tabbed-content .highlight {
141+
width: fit-content;
142+
}

0 commit comments

Comments
 (0)