FEATURE: Make the draft error exclamation in composer red (#15475)

This commit is contained in:
Andrei Prigorshnev 2022-01-06 16:28:18 +01:00 committed by GitHub
parent cfcdedb709
commit 9006c07373
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -204,7 +204,7 @@
<div class={{if isUploading "hidden"}} id="draft-status"> <div class={{if isUploading "hidden"}} id="draft-status">
{{#if model.draftStatus}} {{#if model.draftStatus}}
<span title={{model.draftStatus}}> <span class="draft-error" title={{model.draftStatus}}>
{{#if model.draftConflictUser}} {{#if model.draftConflictUser}}
{{avatar model.draftConflictUser imageSize="small"}} {{d-icon "user-edit"}} {{avatar model.draftConflictUser imageSize="small"}} {{d-icon "user-edit"}}
{{else}} {{else}}

View File

@ -580,3 +580,7 @@ body:not(.ios-safari-composer-hacks) {
color: var(--primary-medium); color: var(--primary-medium);
} }
} }
.draft-error {
color: var(--danger);
}