From 6b466cd1b42d51c0f8e1655b6483b2486672069e Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Fri, 3 Nov 2017 16:09:43 -0400 Subject: [PATCH] UX: Dynamic margins on flexbox categories-and-latest --- app/assets/stylesheets/desktop/category-list.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/desktop/category-list.scss b/app/assets/stylesheets/desktop/category-list.scss index 3eab6a1076d..fe59aa77bf6 100644 --- a/app/assets/stylesheets/desktop/category-list.scss +++ b/app/assets/stylesheets/desktop/category-list.scss @@ -125,7 +125,15 @@ } div.column.categories { - margin-right: 2em; + @media all and (max-width : 600px) { + margin-right: 0; + } + @media all and (min-width : 600px) { + margin-right: 1em; + } + @media all and (min-width : 700px) { + margin-right: 2em; + } } .discourse-tag {