diff --git a/src/components/_shared/CommentEditor/styles/CommentEditor.module.scss b/src/components/_shared/CommentEditor/styles/CommentEditor.module.scss index 4b5172cf..bdb60f3e 100644 --- a/src/components/_shared/CommentEditor/styles/CommentEditor.module.scss +++ b/src/components/_shared/CommentEditor/styles/CommentEditor.module.scss @@ -1,7 +1,7 @@ .commentEditor { border: 2px solid #e8e8e8; border-radius: 8px; - padding: 0 16px 16px; + padding: 16px; .textarea { min-height: 1em; diff --git a/src/components/_shared/CommentEditor/styles/ProseMirrorOverrides.scss b/src/components/_shared/CommentEditor/styles/ProseMirrorOverrides.scss index d5554675..259f8da8 100644 --- a/src/components/_shared/CommentEditor/styles/ProseMirrorOverrides.scss +++ b/src/components/_shared/CommentEditor/styles/ProseMirrorOverrides.scss @@ -1,4 +1,8 @@ .ProseMirrorOverrides > .ProseMirror { + &-focused { + outline: none; + } + .paragraph { font-size: 15px; line-height: 1.1em; diff --git a/src/graphql/mutation/reaction-create.ts b/src/graphql/mutation/reaction-create.ts index c3150673..d89176ac 100644 --- a/src/graphql/mutation/reaction-create.ts +++ b/src/graphql/mutation/reaction-create.ts @@ -14,8 +14,11 @@ export default gql` stat { rating } - shout - createBy { + shout { + id + slug + } + createdBy { name slug userpic diff --git a/src/graphql/types.gen.ts b/src/graphql/types.gen.ts index 6d918c90..11a6b2c1 100644 --- a/src/graphql/types.gen.ts +++ b/src/graphql/types.gen.ts @@ -260,7 +260,7 @@ export type MutationDeleteMessageArgs = { } export type MutationDeleteReactionArgs = { - reaction: Scalars['Int'] + id: Scalars['Int'] } export type MutationDeleteShoutArgs = { @@ -331,6 +331,7 @@ export type MutationUpdateProfileArgs = { } export type MutationUpdateReactionArgs = { + id: Scalars['Int'] reaction: ReactionInput } @@ -661,7 +662,6 @@ export type Subscription = { newMessage?: Maybe newReaction?: Maybe newShout?: Maybe - newInvite?: Maybe } export type Token = {