From 8533014069b5ef5433abc8a6bd001ffbd8af1df3 Mon Sep 17 00:00:00 2001 From: sunhao Date: Thu, 14 Dec 2023 18:40:01 +0800 Subject: [PATCH] * typography: add style to hr in article. --- lib/typography/README.md | 1 + lib/typography/src/style/article.css | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/lib/typography/README.md b/lib/typography/README.md index 3ca036482a..e83a60d39f 100644 --- a/lib/typography/README.md +++ b/lib/typography/README.md @@ -181,6 +181,7 @@ console.log('Hello World!');
  • 编辑
  • 拖放
  • +
    import {Messager} from 'zui';
     
     Messager.show('Hello World!');
    diff --git a/lib/typography/src/style/article.css b/lib/typography/src/style/article.css
    index ed8ea06f4a..c7e551ee7e 100644
    --- a/lib/typography/src/style/article.css
    +++ b/lib/typography/src/style/article.css
    @@ -17,6 +17,10 @@
       @apply -my-[0.5em];
     }
     
    +.article hr {
    +  @apply -my-[1.5em];
    +}
    +
     .article table {
       @apply -border;
     }