Skip to content

Commit 3dfc583

Browse files
authored
Remove min-height rule from CodeListing. (#718)
This causes issues when code listings are used in `@Row`/`@Col` DocC directives, because it results in them expanding beyond their normal size and potentially obscures content below the row. It doesn't seem that the `min-height` rule is still needed with the recent updates to the styling of code listings whereas it was previously used to fix an issue with overflow scrolling in tutorial code. Resolves: rdar://112272083
1 parent c142759 commit 3dfc583

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/components/ContentNode/CodeListing.vue

-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ code {
184184

185185
.code-listing {
186186
flex-direction: column;
187-
min-height: 100%;
188187
border-radius: var(--code-border-radius, $border-radius);
189188
overflow: hidden;
190189
// we need to establish a new stacking context to resolve a Safari bug where

0 commit comments

Comments
 (0)