File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed
Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 7474 -webkit-user-select : none;
7575 touch-action : manipulation;
7676 font-size : 90% ;
77+ font-weight : 600 ;
7778}
7879
7980# debugger-button : hover {
Original file line number Diff line number Diff line change @@ -209,7 +209,9 @@ <h1 class="modal-title fs-5" id="debugger-modal-title">Regex Debugger</h1>
209209 < div class ="d-flex ">
210210 < input id ="debugger-step-range " type ="range " class ="form-range flex-grow-1 " value ="1 " min ="1 "
211211 max ="100 ">
212- < div id ="debugger-step-range-max " class ="ms-3 "> 100</ div >
212+ < div class ="ms-3 ">
213+ < span id ="debugger-step-range-max " class ="badge rounded-pill text-bg-secondary "> 100</ span >
214+ </ div >
213215 </ div >
214216 < p class ="mb-0 " style ="text-align: center ">
215217 < button id ="debugger-go-start " class ="btn btn-sm btn-outline-secondary rounded-circle button-circle ">
@@ -229,7 +231,9 @@ <h1 class="modal-title fs-5" id="debugger-modal-title">Regex Debugger</h1>
229231 </ p >
230232
231233 < 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 ">
234+ < div class ="mb-3 ">
235+ < input id ="debugger-regex " type ="text " class ="form-control form-control-sm border shadow-none "
236+ style ="border-radius: 0; " readonly >
233237 </ div >
234238
235239 < div class ="border my-3 ">
Original file line number Diff line number Diff 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
@@ -302,7 +302,7 @@ export class App {
302302 const method = "debug" ;
303303 const params = {
304304 method,
305- pattern : document . getElementById ( "debugger-regex" ) . textContent ,
305+ pattern : document . getElementById ( "debugger-regex" ) . value ,
306306 text : this . debuggerText . value ,
307307 matchOptions : this . matchOptions . value ,
308308 step : document . getElementById ( "debugger-step-range" ) . value ,
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ $table-cell-padding-y-sm: 0.05rem;
1717@import " bootstrap/scss/buttons" ;
1818@import " bootstrap/scss/transitions" ;
1919@import " bootstrap/scss/dropdown" ;
20+ @import " bootstrap/scss/badge" ;
2021@import " bootstrap/scss/close" ;
2122@import " bootstrap/scss/modal" ;
2223
You can’t perform that action at this time.
0 commit comments