Skip to content

Commit 744baa3

Browse files
authored
Merge pull request #1500 from session-foundation/fix/modal_default_width
fix: bump modal default width to 420px
2 parents 0c25c84 + 60c7ab5 commit 744baa3

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

ts/components/SessionWrapperModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const StyledModalHeader = styled(Flex)<{ bigHeader?: boolean; scrolled: boolean
4545

4646
export enum WrapperModalWidth {
4747
narrow = '350px',
48-
normal = '410px',
48+
normal = '420px',
4949
wide = '500px',
5050
debug = '75%',
5151
}

ts/components/conversation/composition/CompositionBox.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -820,6 +820,7 @@ class CompositionBoxInner extends Component<Props, State> {
820820
stagedLinkPreview: undefined,
821821
ignoredLink: undefined,
822822
draft: '',
823+
characterCount: 0,
823824
});
824825
updateDraftForConversation({
825826
conversationKey: this.props.selectedConversationKey,

ts/components/dialog/SessionProInfoModal.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,14 @@ export enum SessionProInfoVariant {
3636
const StyledContentContainer = styled.div`
3737
display: flex;
3838
flex-direction: column;
39-
margin-bottom: var(--margins-lg);
39+
margin-bottom: var(--margins-md);
4040
gap: var(--margins-sm);
4141
`;
4242

4343
const StyledScrollDescriptionContainer = styled.div`
4444
text-align: center;
4545
font-size: var(--font-size-lg);
46+
line-height: var(--font-size-xl);
4647
color: var(--text-secondary-color);
4748
`;
4849

0 commit comments

Comments
 (0)