Tighten mobile hero lookup button
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 29s

This commit is contained in:
Codex Bot
2026-03-24 12:44:59 +01:00
parent 7faee8814f
commit 81852bae8c
2 changed files with 20 additions and 4 deletions

View File

@@ -10,7 +10,7 @@
<input class="form-control" id="heroMinerAddress" type="text" placeholder="Enter wallet address to open worker statistics"> <input class="form-control" id="heroMinerAddress" type="text" placeholder="Enter wallet address to open worker statistics">
<span class="input-group-btn"> <span class="input-group-btn">
<button class="btn btn-default" type="button" id="heroMinerLookup"> <button class="btn btn-default" type="button" id="heroMinerLookup">
<i class="fa fa-search"></i> View Worker Statistics <i class="fa fa-search"></i> <span class="hero-lookup-label">View Worker Statistics</span>
</button> </button>
</span> </span>
</div> </div>

View File

@@ -880,12 +880,28 @@ textarea:focus {
grid-template-columns: 1fr; grid-template-columns: 1fr;
} }
.hero-lookup-group .input-group-btn, .hero-lookup-group {
.hero-lookup-group .btn { display: table;
display: block;
width: 100%; width: 100%;
} }
.hero-lookup-group .input-group-btn {
width: 1%;
white-space: nowrap;
vertical-align: top;
}
.hero-lookup-group .btn {
width: 54px;
min-width: 54px;
padding-left: 0;
padding-right: 0;
}
.hero-lookup-group .hero-lookup-label {
display: none;
}
.infoBox .icon { .infoBox .icon {
font-size: 48px; font-size: 48px;
line-height: 48px; line-height: 48px;