From c338fbb9631a97f950bca7c65fa35c12f4596f85 Mon Sep 17 00:00:00 2001 From: Luis Cielak Date: Tue, 10 Jul 2018 10:32:35 -0400 Subject: [PATCH] Prevent sidenav panel to shrink --- scss/sections/_sidenav.scss | 1 + templates/styleguide.html.to | 76 ++++++++++++++++++------------------ 2 files changed, 40 insertions(+), 37 deletions(-) diff --git a/scss/sections/_sidenav.scss b/scss/sections/_sidenav.scss index 7b1b3d2c..d695d742 100644 --- a/scss/sections/_sidenav.scss +++ b/scss/sections/_sidenav.scss @@ -2,6 +2,7 @@ @include grid-pad; @include panel-margin; width: 100%; + flex-shrink: 0; @include media($large-screen) { width: 21rem; diff --git a/templates/styleguide.html.to b/templates/styleguide.html.to index daeff17b..f5be0acb 100644 --- a/templates/styleguide.html.to +++ b/templates/styleguide.html.to @@ -31,47 +31,49 @@
-
+
+
-
-

Panel Heading H1

-

Panel Heading H2

-

Panel Heading H3

-

Panel Heading H4

-
Panel Heading H5
-
Panel Heading H6
-
+
+

Panel Heading H1

+

Panel Heading H2

+

Panel Heading H3

+

Panel Heading H4

+
Panel Heading H5
+
Panel Heading H6
+
- This is a panel content -

Heading H1

-

Heading H2

-

Heading H3

-

Heading H4

-
Heading H5
-
Heading H6
+ This is a panel content +

Heading H1

+

Heading H2

+

Heading H3

+

Heading H4

+
Heading H5
+
Heading H6
-

This is a paragraph. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+

This is a paragraph. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-
-
col 1
-
col 2
-
col 3
-
col 4
-
-
-
-
col 1
-
col 2
-
col 3
-
col 4
-
col 5
-
col 6
-
col 7
-
col 8
-
col 9
-
col 10
-
col 11
-
col 12
+
+
col 1
+
col 2
+
col 3
+
col 4
+
+
+
+
col 1
+
col 2
+
col 3
+
col 4
+
col 5
+
col 6
+
col 7
+
col 8
+
col 9
+
col 10
+
col 11
+
col 12
+