Skip to content

Commit

Permalink
fix: Un-break TS message comm. contents editor UI
Browse files Browse the repository at this point in the history
  • Loading branch information
strogonoff committed Oct 20, 2019
1 parent 48c1dfb commit a9d15d6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/issue-editor/messages/telephone_service_2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ const TSCountryCommunicationDetailsEditor: React.FC<TSCountryCommunicationDetail

<FormGroup
label="Communication contents"
contentClassName={styles.tsCommunicationFormContents}
intent="primary">
{contentsEditor}
</FormGroup>
Expand Down
14 changes: 14 additions & 0 deletions src/renderer/issue-editor/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,17 @@
}

:local .messageEditorDialog {
max-height: 95vh;

:global .bp3-label:last-child,
:global .bp3-form-group:last-child {
margin-bottom: 0;
}

:global .bp3-dialog-body {
display: flex;
flex-flow: column nowrap;
}
}

:local .messageEditorTabs {
Expand Down Expand Up @@ -110,6 +117,7 @@
:local .tsCountryCommunicationEditor {
display: flex;
flex-flow: row nowrap;
overflow: hidden;

> :first-child {
margin-right: 1rem;
Expand All @@ -131,3 +139,9 @@
flex-flow: row nowrap;
justify-content: space-between;
}

:local .tsCommunicationFormContents {
display: flex;
flex-flow: column nowrap;
overflow: hidden;
}

0 comments on commit a9d15d6

Please sign in to comment.