From 487216e888b01b75abb68f3730af52d35cbdc4d7 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sat, 10 Jul 2021 09:47:42 +0800 Subject: [PATCH] set max-width --- source/css/_layout/tag-plugins/navbar.styl | 1 + source/css/_layout/tag-plugins/tabs.styl | 1 + 2 files changed, 2 insertions(+) diff --git a/source/css/_layout/tag-plugins/navbar.styl b/source/css/_layout/tag-plugins/navbar.styl index 05d5e9a..304f855 100644 --- a/source/css/_layout/tag-plugins/navbar.styl +++ b/source/css/_layout/tag-plugins/navbar.styl @@ -5,6 +5,7 @@ background: var(--block) border-radius: 6px display: inline-flex + max-width: 100% a margin: 1px padding: 0.25em 0.75rem diff --git a/source/css/_layout/tag-plugins/tabs.styl b/source/css/_layout/tag-plugins/tabs.styl index 5309312..f8ecdd3 100644 --- a/source/css/_layout/tag-plugins/tabs.styl +++ b/source/css/_layout/tag-plugins/tabs.styl @@ -63,6 +63,7 @@ border-radius: 2px .tab-content + max-width: 100% .tab-pane &:not(.active) display: none