Skip to content

Commit 513402d

Browse files
committed
fix UI overlaps: search/connect spacing + ordpool flags overflow
1. Search button: add me-2 so it doesn't touch the wallet-connect button 2. Block-filters: bump height from 80px to 110px so the 11 ordpool flags (now 2 rows after upstream merge added Counterparty, Stamp, SRC-721, SRC-101, Labitbu) don't overflow into the block overview graph.
1 parent c902b5f commit 513402d

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

frontend/src/app/components/search-form/search-form.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</div>
99
<div>
1010
<!-- HACK: btn-secondary instead of btn-purple -->
11-
<button [disabled]="isSearching" type="submit" class="btn btn-block btn-secondary">
11+
<button [disabled]="isSearching" type="submit" class="btn btn-block btn-secondary me-2">
1212
<fa-icon *ngIf="!(isTypeaheading$ | async) else searchLoading" [icon]="['fas', 'search']" [fixedWidth]="true" i18n-title="search-form.search-title" title="Search"></fa-icon>
1313
</button>
1414
</div>

frontend/src/styles-ordpool-overrides1.scss

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,15 @@ app-atomical-viewer {
114114

115115
// moves app-block-filters out of the block overview
116116
// no "gray" blocking anymore
117+
// HEIGHT: must fit "Ordpool Flags" h5 + 2 wrapped rows of filter badges
118+
// (11 flags don't fit in one row anymore: Inscription, Rune, CAT-21,
119+
// BRC-20, Atomical, Counterparty, Stamp, SRC-20, SRC-721, SRC-101, Labitbu).
117120
.block-overview-graph {
118-
margin-top: 80px;
121+
margin-top: 110px;
119122
}
120123

121124
.block-filters {
122-
height: 80px !important;
125+
height: 110px !important;
123126

124127
h5 {
125128
margin-top: 0 !important;
@@ -128,7 +131,7 @@ app-atomical-viewer {
128131
}
129132

130133
app-block-filters > div {
131-
margin-top: -80px;
134+
margin-top: -110px;
132135
}
133136

134137
// completely hide accelerated status (this is still shown for some txns)

0 commit comments

Comments
 (0)