Skip to content

Commit

Permalink
🐛 Change font size and style of title
Browse files Browse the repository at this point in the history
  • Loading branch information
justice2001 committed Apr 26, 2024
1 parent d830c03 commit 7757091
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions console/src/views/VditorMde.vue
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,20 @@ const update = (val: string | null) => {
padding: 8px 10px;
}
/* title */
#plugin-vditor-mde.h1AsTitle .vditor-ir h1:first-child::before,
#plugin-vditor-mde.h1AsTitle .vditor-wysiwyg h1:first-child::before {
content: "T";
}
#plugin-vditor-mde.h1AsTitle .vditor-ir h1:first-child,
#plugin-vditor-mde.h1AsTitle .vditor-wysiwyg h1:first-child {
border-bottom: 2px solid #eaecef;
color: #333333;
text-align: left;
text-decoration: none;
font-size: 2rem;
background: none;
}
</style>

0 comments on commit 7757091

Please sign in to comment.