From 92179bcc640db9dd767c0781187f4d8069ba37a6 Mon Sep 17 00:00:00 2001 From: Georgios Kalpakas Date: Tue, 18 Jul 2017 12:30:01 +0300 Subject: [PATCH] fix(aio): do not wrap `` tab labels Fixes #17751 --- aio/src/styles/2-modules/_code.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; }