Skip to content

Commit 36df7ee

Browse files
authored
fix: some cleanup around notebooks (#3664)
1 parent 285c1bc commit 36df7ee

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

src/flows/components/panel/PanelQueryOverlay.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const PanelQueryOverlay: FC = () => {
3636
title={`Export to ${CLIENT_DEFINITIONS[contentID].name} Client Library`}
3737
onDismiss={closeFn}
3838
/>
39-
<Overlay.Body>
39+
<Overlay.Body className="flow--client-overlay">
4040
<ClientCodeQueryHelper contentID={contentID} clientQuery={query} />
4141
<ClientCodeCopyPage contentID={contentID} onCopy={reportCopyClick} />
4242
</Overlay.Body>

src/flows/pipes/Visualization/view.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@ const Visualization: FC<PipeProp> = ({Context}) => {
113113
action: download,
114114
},
115115
{
116-
title: 'Download As Image',
116+
title: 'Download as Image',
117117
action: () => downloadAsImage(id),
118118
disable: !isFlagEnabled('pdfImageDownload'),
119119
},
120120
{
121-
title: 'Download As PDF',
121+
title: 'Download as PDF',
122122
action: () => downloadAsPDF(id),
123123
disable: !isFlagEnabled('pdfImageDownload'),
124124
},

src/flows/style.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,3 +435,9 @@ $cf-radius-lg: $cf-radius + 4px;
435435
.flows-index--contents {
436436
overflow: unset;
437437
}
438+
439+
.flow--client-overlay {
440+
.markdown-format pre {
441+
white-space: pre-line;
442+
}
443+
}

0 commit comments

Comments
 (0)