Skip to content

Commit

Permalink
fixup! fix(challenge): Prevent the textbox from growing beyond its bo…
Browse files Browse the repository at this point in the history
…unds
  • Loading branch information
gibson042 committed Jul 18, 2024
1 parent a84f725 commit 444c7cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions public/challenge/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@
color: #faa !important;
}

#attacker-program {
max-width: 100%;
}
2 changes: 1 addition & 1 deletion src/content/docs/challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ This includes sources of non-determinism like `window.setTimeout` and

<div class="attacker-input">
<b>Attacker Code:</b>
<textarea id="attacker-program" rows="10" cols="80" style="max-width: 100%" placeholder="(paste attack code here)">
<textarea id="attacker-program" rows="10" cols="80" placeholder="(paste attack code here)">
function*() {
guess('123456789A');
}
Expand Down

0 comments on commit 444c7cf

Please sign in to comment.