Merge pull request #2474 from yougotwill/react_modal_alignment_fix

fix: Fixed Reaction text alignment in the React List modal
pull/2479/head
Audric Ackermann 3 years ago committed by GitHub
commit cdb010ac47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,7 +24,6 @@ const StyledReaction = styled.button<{ selected: boolean; inModal: boolean; show
margin: 0 4px var(--margins-sm);
height: 24px;
min-width: ${props => (props.showCount ? '48px' : '24px')};
${props => props.inModal && 'width: 100%;'}
span {
width: 100%;
@ -35,7 +34,7 @@ const StyledReactionContainer = styled.div<{
inModal: boolean;
}>`
position: relative;
${props => props.inModal && 'margin-right: 8px;'}
${props => props.inModal && 'white-space: nowrap; margin-right: 8px;'}
`;
export type ReactionProps = {

Loading…
Cancel
Save