From c51af37761956f0b65dd4de0e51bed06a3c96ab7 Mon Sep 17 00:00:00 2001 From: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com> Date: Fri, 1 Apr 2022 16:11:57 +0800 Subject: [PATCH] fix(docs): documentation style (#6952) - Fix documentation style --- docs/.vitepress/vitepress/styles/base.scss | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/docs/.vitepress/vitepress/styles/base.scss b/docs/.vitepress/vitepress/styles/base.scss index 0e28038e55..f6dcc12d9d 100644 --- a/docs/.vitepress/vitepress/styles/base.scss +++ b/docs/.vitepress/vitepress/styles/base.scss @@ -45,13 +45,23 @@ h5, h6 { margin: 0; line-height: 1.25; - display: flex; - align-items: center; - position: relative; +} - // Special case for handling tagged header. - .el-tag { - margin-left: 8px; +.doc-content { + h1, + h2, + h3, + h4, + h5, + h6 { + display: flex; + align-items: center; + position: relative; + + // Special case for handling tagged header. + .el-tag { + margin-left: 8px; + } } }