From af7102c510b79076ee3404724a585f7fe3c3cdaf Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sun, 19 Apr 2020 20:32:52 +0800 Subject: [PATCH] navbar menu max-width --- source/css/_layout/navbar.styl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/css/_layout/navbar.styl b/source/css/_layout/navbar.styl index fd6171b..b2dcd11 100644 --- a/source/css/_layout/navbar.styl +++ b/source/css/_layout/navbar.styl @@ -265,6 +265,7 @@ ul.list-v padding: 0 $gap + $border-line + 2px 0 $gap height: 32px border-left: $border-line solid transparent + text-overflow: ellipsis &:hover,&.active,&:active color: $color-theme border-left: $border-line solid $color-theme @@ -398,3 +399,8 @@ ul.list-v // padding-right: 0 .menu display:none + +@media screen and (max-width: $device-mobile) + .list-v + li + max-width: 264px