diff --git a/aio/src/styles/2-modules/_code.scss b/aio/src/styles/2-modules/_code.scss index 1f7054779d..76a2b1ec3e 100644 --- a/aio/src/styles/2-modules/_code.scss +++ b/aio/src/styles/2-modules/_code.scss @@ -106,7 +106,11 @@ aio-code pre { } } -.code-tab-group div.mat-tab-body-content { +.code-tab-group .mat-tab-label { + white-space: nowrap; +} + +.code-tab-group .mat-tab-body-content { height: auto; transform: none; }