Show errors / queue on message.

Focus editor / box properly.
This commit is contained in:
Paul
2021-06-22 10:59:06 +01:00
parent 5db0854b42
commit 8fe1ce3450
8 changed files with 52 additions and 173 deletions

View File

@@ -7,7 +7,7 @@ import { MessageObject } from "../../../context/revoltjs/util";
export interface BaseMessageProps {
head?: boolean,
status?: boolean,
failed?: boolean,
mention?: boolean,
blocked?: boolean,
sending?: boolean,
@@ -49,7 +49,7 @@ export default styled.div<BaseMessageProps>`
color: var(--tertiary-foreground);
` }
${ props => props.status && css`
${ props => props.failed && css`
color: var(--error);
` }