From 1066a26f3b77df2c8b7a7f334b4723b1d12b25b6 Mon Sep 17 00:00:00 2001 From: Mikhail Hryb Date: Mon, 11 Sep 2017 11:42:22 +0300 Subject: [PATCH] fix(typography): typography responsive --- .../typography/typography.component.html | 20 +++++++++---------- .../typography/typography.component.scss | 3 ++- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/app/pages/ui-features/typography/typography.component.html b/src/app/pages/ui-features/typography/typography.component.html index ee4177f0..84bb8b4a 100644 --- a/src/app/pages/ui-features/typography/typography.component.html +++ b/src/app/pages/ui-features/typography/typography.component.html @@ -1,7 +1,7 @@
-
+
-
+
Used Fonts @@ -43,7 +43,7 @@
-
+
Headings @@ -107,7 +107,7 @@
-
+
Article Example @@ -132,7 +132,7 @@
-
+
Blockquotes @@ -154,7 +154,7 @@
-
+
Font Colors @@ -225,9 +225,9 @@
-
+
-
+
Alerts @@ -254,7 +254,7 @@
-
+
Text Types @@ -280,7 +280,7 @@
-
+
Lists diff --git a/src/app/pages/ui-features/typography/typography.component.scss b/src/app/pages/ui-features/typography/typography.component.scss index d3f8133b..82bd8138 100644 --- a/src/app/pages/ui-features/typography/typography.component.scss +++ b/src/app/pages/ui-features/typography/typography.component.scss @@ -29,6 +29,7 @@ .header { display: flex; + flex-wrap: wrap; align-items: center; padding-bottom: 1rem; margin-bottom: 1rem; @@ -42,7 +43,7 @@ } div:first-child { - flex-basis: 50%; + flex: 2; line-height: 1; align-items: flex-end;