Merge pull request #2495 from Bilb/bump-1.10.1

Bump 1.10.1
pull/2496/head
Audric Ackermann 3 years ago committed by GitHub
commit 16bfef09f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,7 +2,7 @@
"name": "session-desktop",
"productName": "Session",
"description": "Private messaging from your desktop",
"version": "1.10.0",
"version": "1.10.1",
"license": "GPL-3.0",
"author": {
"name": "Oxen Labs",

@ -21,8 +21,8 @@ const StyledMessageReactionsContainer = styled(Flex)<{ x: number; y: number }>`
}
`;
export const StyledMessageReactions = styled(Flex)<{ inModal: boolean }>`
${props => (props.inModal ? '' : 'max-width: 320px;')}
export const StyledMessageReactions = styled(Flex)<{ fullWidth: boolean }>`
${props => (props.fullWidth ? '' : 'max-width: 640px;')}
`;
const StyledReactionOverflow = styled.button`
@ -63,7 +63,7 @@ const Reactions = (props: ReactionsProps): ReactElement => {
container={true}
flexWrap={inModal ? 'nowrap' : 'wrap'}
alignItems={'center'}
inModal={inModal}
fullWidth={inModal}
>
{reactions.map(([emoji, _]) => (
<Reaction key={`${messageId}-${emoji}`} emoji={emoji} {...props} />
@ -83,7 +83,7 @@ const CompressedReactions = (props: ExpandReactionsProps): ReactElement => {
container={true}
flexWrap={inModal ? 'nowrap' : 'wrap'}
alignItems={'center'}
inModal={inModal}
fullWidth={true}
>
{reactions.slice(0, 4).map(([emoji, _]) => (
<Reaction key={`${messageId}-${emoji}`} emoji={emoji} {...props} />

@ -55,6 +55,7 @@ const StyledReactionBar = styled(Flex)`
span:nth-child(1) {
margin: 0 8px;
color: var(--color-text);
white-space: nowrap;
}
span:nth-child(2) {

Loading…
Cancel
Save