From 31975a628e9de02b8d3b70e28c210f68c4e045e3 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 22 Sep 2021 11:31:52 -0400 Subject: [PATCH] fix: fixed element shifting in ACP menu that's been bothering me for 5-ish years --- public/less/admin/header.less | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/public/less/admin/header.less b/public/less/admin/header.less index 969a9d7ca5..709dbc378f 100644 --- a/public/less/admin/header.less +++ b/public/less/admin/header.less @@ -98,10 +98,12 @@ > li { float: left; margin-right: 30px; + padding-bottom: 10px; + border-bottom: 4px solid transparent; + transition: border-color 150ms linear; &.active { - border-bottom: 4px solid @brand-primary; - padding-bottom: 10px; + border-color: @brand-primary; } > a {