From f5963fd1d82edf7c0b42774c898bd1f2da444cac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8B=BE=E4=B8=89=E8=82=A1=E5=9B=9B?= Date: Mon, 25 Sep 2017 12:24:23 +0800 Subject: [PATCH 1/2] Formatted the new styl code. (#1151) --- themes/vue/source/css/_header.styl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/themes/vue/source/css/_header.styl b/themes/vue/source/css/_header.styl index e8e34ff44..8dcbd756b 100644 --- a/themes/vue/source/css/_header.styl +++ b/themes/vue/source/css/_header.styl @@ -61,16 +61,16 @@ body.docs border-bottom: none &.current &::after - content: '' + content: "" width: 0 height: 0 border-left: 5px solid $green border-top: 3px solid transparent border-bottom: 3px solid transparent - position: absolute; - top: 50%; - margin-top: -4px; - left: 8px; + position: absolute + top: 50% + margin-top: -4px + left: 8px .new-label position: absolute From 4927fd623e8875af87676ad76c99d90289f0f566 Mon Sep 17 00:00:00 2001 From: Chris Fritz Date: Thu, 28 Sep 2017 00:36:39 -0400 Subject: [PATCH 2/2] fix nav-dropdown styles on mobile --- themes/vue/source/css/_header.styl | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/themes/vue/source/css/_header.styl b/themes/vue/source/css/_header.styl index 8dcbd756b..29157657b 100644 --- a/themes/vue/source/css/_header.styl +++ b/themes/vue/source/css/_header.styl @@ -55,23 +55,6 @@ body.docs &.team margin-left: 10px -.nav-dropdown - .nav-link - &:hover, &.current - border-bottom: none - &.current - &::after - content: "" - width: 0 - height: 0 - border-left: 5px solid $green - border-top: 3px solid transparent - border-bottom: 3px solid transparent - position: absolute - top: 50% - margin-top: -4px - left: 8px - .new-label position: absolute top: 3px