Fixed text selection for announcement bar

no issue.

- In dark mode the text and the text selection color in the announcement bar's input field were the same. This made the selected text unreadable
This commit is contained in:
Peter Zimon 2023-04-26 22:33:13 +02:00
parent ca7ca53d5c
commit 5f266a11db
2 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<label class="gh-setting-title gh-theme-setting-title" for={{this.selectId}}> <label class="gh-setting-title gh-theme-setting-title" for={{this.selectId}}>
Announcement Announcement
</label> </label>
<div class="gh-announcement-editor"> <div class="gh-announcement-editor {{if this.feature.nightShift "dark"}}">
<KoenigLexicalEditorInput <KoenigLexicalEditorInput
@placeholderText="Highlight breaking news, special offers, or important updates" @placeholderText="Highlight breaking news, special offers, or important updates"
@html={{this.content}} @html={{this.content}}

View File

@ -3,6 +3,7 @@ import {action} from '@ember/object';
import {inject as service} from '@ember/service'; import {inject as service} from '@ember/service';
export default class AnnouncementSettingsContentComponent extends Component { export default class AnnouncementSettingsContentComponent extends Component {
@service feature;
@service settings; @service settings;
get content() { get content() {