Skip to content

Commit

Permalink
* typography: add style to hr in article.
Browse files Browse the repository at this point in the history
  • Loading branch information
catouse committed Dec 14, 2023
1 parent d450657 commit 8533014
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/typography/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ console.log('Hello World!');
<li>编辑</li>
<li>拖放</li>
</ul>
<hr>
<pre>import {Messager} from 'zui';
Messager.show('Hello World!');
Expand Down
4 changes: 4 additions & 0 deletions lib/typography/src/style/article.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
@apply -my-[0.5em];
}

.article hr {
@apply -my-[1.5em];
}

.article table {
@apply -border;
}
Expand Down

0 comments on commit 8533014

Please sign in to comment.