From 0e3970d8a9175d52cf99fcdaef24e9553c58e75c Mon Sep 17 00:00:00 2001 From: psychobunny Date: Tue, 12 May 2015 14:29:41 -0400 Subject: [PATCH] move loading spinner to bottom right on mobile --- less/modules/nprogress.less | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/less/modules/nprogress.less b/less/modules/nprogress.less index 6752d7f..e15dce2 100644 --- a/less/modules/nprogress.less +++ b/less/modules/nprogress.less @@ -1,4 +1,3 @@ -/* Make clicks pass-through */ #nprogress { pointer-events: none; } @@ -15,7 +14,6 @@ height: 2px; } -/* Fancy blur effect */ #nprogress .peg { display: block; position: absolute; @@ -30,7 +28,6 @@ transform: rotate(3deg) translate(0px, -4px); } -/* Remove these to get rid of the spinner */ #nprogress .spinner { display: block; position: fixed; @@ -39,6 +36,15 @@ right: 15px; } +@media (max-width: @screen-xs-max) { + #nprogress .spinner { + bottom: 15px; + right: 15px; + top: initial; + } +} + + #nprogress .spinner-icon { width: 18px; height: 18px;