Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 7209ab3

Browse files
style: don't force uppercase in title
1 parent a56e698 commit 7209ab3

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

studio/src/app/utils/editor-utils.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,13 @@ export class EditorUtils {
113113
return;
114114
}
115115

116-
const title = <h1 slot="header" class="deckgo-untouched" contenteditable>
116+
const title = <h2 slot="header" class="deckgo-untouched" contenteditable>
117117
{this.DEFAULT_CAPTION}
118-
</h1>;
118+
</h2>;
119119

120-
const content = <h2 slot="footer" class="deckgo-untouched" contenteditable>
120+
const content = <h3 slot="footer" class="deckgo-untouched" contenteditable>
121121
{this.DEFAULT_CAPTION}
122-
</h2>;
122+
</h3>;
123123

124124
const slide: any = <deckgo-slide-gif src={src}>
125125
{title}

studio/src/global/theme/editor/editor-deck-fonts.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ deckgo-deck {
99
font-weight: 500;
1010
}
1111

12-
h1, h2 {
13-
text-transform: uppercase;
14-
}
15-
1612
h1 {
1713
font-size: 3em;
1814
}

0 commit comments

Comments
 (0)