Skip to content

Commit 7632839

Browse files
committed
fix: better styling for ‘subtitles’ under a main header
1 parent 9104770 commit 7632839

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

layouts/two-cols-title.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,12 @@ const flexclass = computed(() => {
130130
}
131131
132132
.slidev-layout.two-cols-header .title h1 + p,
133-
.slidev-layout.two-cols-footer .title h1 + p {
134-
margin-top: 0.2em;
133+
.slidev-layout.two-cols-footer .title h1 + p,
134+
.slidev-layout.two-cols-header .title h2 + p,
135+
.slidev-layout.two-cols-footer .title h2 + p,
136+
.slidev-layout.two-cols-header .title h3 + p,
137+
.slidev-layout.two-cols-footer .title h3 + p {
138+
margin-top: 0.1em;
135139
margin-bottom: 0;
136140
}
137141

0 commit comments

Comments
 (0)