From 105be8e7aa43adc5fd1b0fd74c84aa67a50b3a15 Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Sun, 28 Jun 2015 23:39:16 -0400 Subject: [PATCH] fix css bug --- src/AboutMe.Mvc.Web/Content/Site.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/AboutMe.Mvc.Web/Content/Site.css b/src/AboutMe.Mvc.Web/Content/Site.css index d84cde4..084dda8 100644 --- a/src/AboutMe.Mvc.Web/Content/Site.css +++ b/src/AboutMe.Mvc.Web/Content/Site.css @@ -58,15 +58,14 @@ textarea { } } -.stick { +@media(min-width: 992px){ + .stick { position: fixed; top: 0; width: 100%; height: 15%; z-index: 10000; } - -@media(min-width: 992px){ .header.stick{ border-top: 0px; padding-top: 0px; @@ -85,7 +84,7 @@ textarea { margin-top: 10%; } -.profile-image{ +.stick > * > * > .profile-image{ width: 120px; }