Skip to content

Commit 251dd12

Browse files
Reposition Google search button in error message display
1 parent 450c3cf commit 251dd12

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -447,16 +447,16 @@
447447
<div class="error-container">
448448
<p class="error-message">Command "<strong>${rawCommand}</strong>" not recognized.${suggestionHTML}</p>
449449
<div class="button-container">
450-
<button id="googleButton" class="error-btn">
451-
Search on Google <span class="shortcut-hint">(g)</span>
452-
</button>
453450
${
454451
suggested
455452
? `<button id="suggestedButton" class="error-btn">
456453
Use suggestion: ${suggested} <span class="shortcut-hint">(y)</span>
457454
</button>`
458455
: ""
459456
}
457+
<button id="googleButton" class="error-btn">
458+
Search on Google <span class="shortcut-hint">(g)</span>
459+
</button>
460460
</div>
461461
</div>
462462
${generateCommandList()}

0 commit comments

Comments
 (0)