Skip to content

Commit 8e0a731

Browse files
committed
Trying to fix colors
1 parent 9107015 commit 8e0a731

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ async function renderProblemPage(platform, problemName) {
276276
pageContent += `
277277
<div class="code-section">
278278
<h3>Python ${platform === 'vicutils' ? 'Script' : 'Solution'}</h3>
279-
<div class="code-content">${escapeHtml(pythonCode)}</div>
279+
<div class="code-content"><pre>${escapeHtml(pythonCode)}</pre></div>
280280
</div>
281281
`;
282282
}

styles.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ h1 {
409409
color: #2d3748;
410410
}
411411

412-
.code-content {
412+
/* .code-content {
413413
background: #1e293b;
414414
color: #e2e8f0;
415415
padding: 1.5rem;
@@ -419,7 +419,7 @@ h1 {
419419
line-height: 1.6;
420420
white-space: pre-wrap;
421421
overflow-x: auto;
422-
}
422+
} */
423423

424424
@media (max-width: 768px) {
425425
.container {

0 commit comments

Comments
 (0)