From c033f1f4b280f73dd72456262957d520af8c10ee Mon Sep 17 00:00:00 2001 From: Andreas N Date: Thu, 12 Feb 2015 17:48:19 +0100 Subject: [PATCH] media queries for min and max size --- app/assets/stylesheets/scss/navbar.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/scss/navbar.scss b/app/assets/stylesheets/scss/navbar.scss index 4a002d10..0022037c 100644 --- a/app/assets/stylesheets/scss/navbar.scss +++ b/app/assets/stylesheets/scss/navbar.scss @@ -123,6 +123,12 @@ @media (max-width: $screen-xs-max) { .profile--image-dropdown > .visible-xs { - display: inline-block; + display: inline-block !important; + } +} + +@media (min-width: $screen-sm-min) { + .profile--image-dropdown > .visible-xs { + display: none !important; } } \ No newline at end of file