From 92528bf261c439b78ddf6842d20569c17f814d60 Mon Sep 17 00:00:00 2001 From: RafiBomb Date: Wed, 8 Jun 2016 08:52:10 -0700 Subject: [PATCH] adds small-expanded css --- scss/components/_media-query.scss | 25 ++++++++++++++++++++++++- test/visual/pages/button-inky.html | 18 ++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/scss/components/_media-query.scss b/scss/components/_media-query.scss index 49619299..a564b464 100755 --- a/scss/components/_media-query.scss +++ b/scss/components/_media-query.scss @@ -101,7 +101,8 @@ display: inline-block !important; } - &.vertical, &.small-vertical { + &.vertical, + &.small-vertical { td, th { display: block !important; @@ -113,5 +114,27 @@ table.menu[align="center"] { width: auto !important; } + + + // expands buttons for small only + table.button.small-expand, + table.button.small-expanded { + width: 100% !important; + + table { + width: 100%; + + a { + text-align: center !important; + width: 100% !important; + padding-left: 0 !important; + padding-right: 0 !important; + } + } + + center { + min-width: 0; + } + } } diff --git a/test/visual/pages/button-inky.html b/test/visual/pages/button-inky.html index c6fb9dda..f169f015 100644 --- a/test/visual/pages/button-inky.html +++ b/test/visual/pages/button-inky.html @@ -4,6 +4,7 @@ } +Test Results - Passing 6/8/1016
@@ -53,6 +54,23 @@ + Expand small only with center tag +
+ +
+
+
+ + + Expand small only +
+ +
+
+
+ + +
-- 2.47.2