Skip to content

Commit

Permalink
Use kebab-case for new component's CSS class names
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinber committed Jan 15, 2025
1 parent af9b570 commit 6c81793
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class CharacterEdgeColorSelectBox extends SubtitleSettingSelectBox {
super(config);

this.config = this.mergeConfig(config, {
cssClasses: ['ui-subtitlesettingscharacteredgecolorselectbox'],
cssClasses: ['ui-subtitle-settings-character-edge-color-select-box'],
}, this.config);
}

Expand Down
2 changes: 1 addition & 1 deletion src/ts/components/subtitlesettings/fontstyleselectbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class FontStyleSelectBox extends SubtitleSettingSelectBox {
super(config);

this.config = this.mergeConfig(config, {
cssClasses: ['ui-subtitlesettingsfontstyleselectbox'],
cssClasses: ['ui-subtitle-settings-font-style-select-box'],
}, this.config);
}

Expand Down

0 comments on commit 6c81793

Please sign in to comment.