From 896997a872e0b0c913ee405af208dc13eef09fc1 Mon Sep 17 00:00:00 2001 From: Vergil Penkov Date: Tue, 15 Mar 2016 18:54:46 +0200 Subject: [PATCH] Fixes https://github.com/VPenkov/okayNav/issues/31 --- app/css/okayNav-base.css | 3 +++ app/less/okayNav-base.less | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/app/css/okayNav-base.css b/app/css/okayNav-base.css index 15501ba..cc1f8af 100644 --- a/app/css/okayNav-base.css +++ b/app/css/okayNav-base.css @@ -40,6 +40,9 @@ body.okayNav-loaded { position: relative; z-index: 1; } +.okayNav a:only-of-type { + top: 0; +} .okayNav__nav--visible { overflow: hidden; white-space: nowrap; diff --git a/app/less/okayNav-base.less b/app/less/okayNav-base.less index 070489a..59bbdb2 100644 --- a/app/less/okayNav-base.less +++ b/app/less/okayNav-base.less @@ -45,6 +45,11 @@ body.okayNav-loaded {overflow-x: hidden} a { position: relative; z-index: 1; + + &:only-of-type { + // Bring the kebab icon back to the top if it's alone + top: 0; + } } }