Skip to content

Commit 7a2f523

Browse files
MaxWeisenJIB3377mhmaidi789dieunity
committed
Fixed a bug made by Mo, added styling to all codeWrapper divs for a cohesive look.
Co-authored-by: Justin Baik <bij3377@gmail.com> Co-authored-by: Max Weisenberger <germanbluemax@gmail.com> Co-authored-by: Mo Hmaidi <mhmaidi789@gmail.com> Co-authored-by: Dieu Huynh <dieuhhuynh@gmail.com>
1 parent 710a64c commit 7a2f523

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

src/components/Modals/ExportFileModal.module.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,11 @@
224224
flex: 1;
225225
flex-direction: column;
226226
}
227+
227228
#endPointGuide {
228229
margin: 8px;
229230
}
231+
230232
#configGuide {
231233
display: flex;
232234
flex: 1;
@@ -235,17 +237,23 @@
235237
}
236238

237239
pre {
240+
white-space: pre-wrap;
238241
display: flex;
239242
flex: 1;
240243
flex-direction: column;
241244
padding: 12px 15px;
242245
margin-top: -4px;
243246
margin-bottom: 8px;
244247
overflow: auto;
245-
width: 97.5%;
248+
// width: 97.5%;
246249
font-size: 85%;
247250
line-height: 1.45;
248251
background-color: #0a1f40;
249252
color: white;
250253
// border-radius: 6px;
251254
}
255+
256+
// #codeWrapper {
257+
// width: 50%;
258+
// color: #fff;
259+
// }

src/components/Modals/Modal.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,9 @@ const Modal = ({
257257
2. Install dependencies and Jest.
258258
</AccordionSummary>
259259
<AccordionDetails id={styles.accordionDetails}>
260-
<div>
260+
<div id={styles.accordionDiv}>
261261
<pre>
262-
<div className="code-wrapper">
262+
<div className="code-wrapper" id={styles.codeWrapper}>
263263
<code>
264264
{script.install}
265265
</code>

0 commit comments

Comments
 (0)