From 6f70ab190688b075365cd4cc63e08d513cbbc325 Mon Sep 17 00:00:00 2001 From: Ryan Wilson Date: Mon, 13 May 2019 15:13:31 -0400 Subject: [PATCH 1/2] Animates hover in place --- static/header.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/header.less b/static/header.less index c13a38ec..e0a65fae 100644 --- a/static/header.less +++ b/static/header.less @@ -145,7 +145,7 @@ &:before { content: ''; position: absolute; - bottom: 20px; + bottom: 8px; left: 0px; width: 100%; height: 4px; From 8d00116d61f53d2440912185249be6e30e76485a Mon Sep 17 00:00:00 2001 From: Ryan Wilson Date: Mon, 13 May 2019 15:22:17 -0400 Subject: [PATCH 2/2] removes extra lines of code --- static/header.less | 2 -- 1 file changed, 2 deletions(-) diff --git a/static/header.less b/static/header.less index e0a65fae..089bb661 100644 --- a/static/header.less +++ b/static/header.less @@ -155,7 +155,6 @@ transition: all 0.4s ease-in-out; } &:hover:before { - bottom: 8px; opacity: 1; } } @@ -164,7 +163,6 @@ color: @link-color; } > a:before { - bottom: 8px; opacity: 1; background-color: @link-color; cursor: default;