mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-05 23:10:28 +03:00
This reverts commit d8d4714370.
This commit is contained in:
parent
31942b1114
commit
ccf10fc20c
37 changed files with 83 additions and 82 deletions
|
|
@ -22,7 +22,6 @@ import {
|
|||
as,
|
||||
color,
|
||||
config,
|
||||
toRem,
|
||||
} from 'folds';
|
||||
import React, {
|
||||
FormEventHandler,
|
||||
|
|
@ -95,10 +94,10 @@ export const MessageQuickReactions = as<'div', MessageQuickReactionsProps>(
|
|||
return (
|
||||
<>
|
||||
<Box
|
||||
style={{ padding: config.space.S300 }}
|
||||
style={{ padding: config.space.S200 }}
|
||||
alignItems="Center"
|
||||
justifyContent="Center"
|
||||
gap="300"
|
||||
gap="200"
|
||||
{...props}
|
||||
ref={ref}
|
||||
>
|
||||
|
|
@ -973,7 +972,7 @@ export const Message = as<'div', MessageProps>(
|
|||
escapeDeactivates: stopPropagation,
|
||||
}}
|
||||
>
|
||||
<Menu style={{ minWidth: toRem(200) }}>
|
||||
<Menu>
|
||||
{canSendReaction && (
|
||||
<MessageQuickReactions
|
||||
onReaction={(key, shortcode) => {
|
||||
|
|
@ -1170,7 +1169,6 @@ export const Event = as<'div', EventProps>(
|
|||
hideReadReceipts,
|
||||
showDeveloperTools,
|
||||
children,
|
||||
style,
|
||||
...props
|
||||
},
|
||||
ref
|
||||
|
|
@ -1237,7 +1235,7 @@ export const Event = as<'div', EventProps>(
|
|||
escapeDeactivates: stopPropagation,
|
||||
}}
|
||||
>
|
||||
<Menu style={{ minWidth: toRem(200), ...style }} {...props} ref={ref}>
|
||||
<Menu {...props} ref={ref}>
|
||||
<Box direction="Column" gap="100" className={css.MessageMenuGroup}>
|
||||
{!hideReadReceipts && (
|
||||
<MessageReadReceiptItem
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue