Skip to content

Commit 1d8a82e

Browse files
Styling
1 parent 86012dc commit 1d8a82e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Public/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,9 @@ <h1 class="modal-title fs-5" id="debugger-modal-title">Regex Debugger</h1>
229229
</p>
230230

231231
<div class="my-1" style="font-weight: 600;">Match Step <span id="debugger-match-step"></span></div>
232-
<div id="debugger-regex" class="border mb-3">
232+
<div class="mb-3">
233+
<input id="debugger-regex" type="text" class="form-control form-control-sm border shadow-none"
234+
style="border-radius: 0;" readonly>
233235
</div>
234236

235237
<div class="border my-3">

Public/js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ export class App {
207207
matchStep.textContent = "1";
208208

209209
const debuggerPattern = document.getElementById("debugger-regex");
210-
debuggerPattern.textContent = expression;
210+
debuggerPattern.value = expression;
211211

212212
this.debuggerText.value = text;
213213

0 commit comments

Comments
 (0)