From 0f4ffa5e084436a49bb8db97df3a333869a0e166 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sat, 10 Jul 2021 12:44:20 +0800 Subject: [PATCH] tabs --- source/css/_layout/tag-plugins/tabs.styl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/source/css/_layout/tag-plugins/tabs.styl b/source/css/_layout/tag-plugins/tabs.styl index 6541454..ae42457 100644 --- a/source/css/_layout/tag-plugins/tabs.styl +++ b/source/css/_layout/tag-plugins/tabs.styl @@ -4,16 +4,21 @@ margin-bottom: 1rem display: flex flex-direction: column - align-items: flex-start + &[align=left] + align-items: flex-start + .nav-tabs + align-self: flex-start &[align=center] align-items: center &[align=right] align-items: flex-end + .nav-tabs + align-self: flex-end .tag-plugin.tabs ul.nav-tabs display: flex - // align-self: center + align-self: center overflow: scroll visible scrollbar(0, 0) max-width: 100%