FIX - show VaultX logo in market headers

Use the VaultX app mark in crypto detail navbars while retaining each market symbol and name beside it. Keep the coin-specific logo in the detail content where it identifies the selected asset.
This commit is contained in:
smx.pusha
2026-08-18 10:52:56 +02:00
parent 69d55cc9da
commit 95698b20e0
2 changed files with 10 additions and 5 deletions
@@ -92,6 +92,10 @@ describe('VaultX crypto app contracts', () => {
it('uses the compact Flare-style navigation and polished overlay transitions', () => {
expect(source).toContain('class="vault-navbar"')
expect(source).toContain('class="vault-header-logo"')
expect(source).toContain(
'class="vault-header-logo vault-header-logo--detail"',
)
expect(source).not.toContain('class="coin-detail-logo"')
expect(source).not.toContain('.vault-header-brand > i')
expect(source).toContain(':show-back="Boolean(detail)"')
expect(source).not.toMatch(/<SkyNavbar[\s\S]*?\slarge(?:\s|>)/)
+6 -5
View File
@@ -415,7 +415,11 @@ onMounted(() => void crypto.load())
<span>{{ t('name') }}</span>
</span>
<span v-else-if="detail" class="vault-detail-title">
<CryptoLogo class="coin-detail-logo" :market="detail" />
<img
class="vault-header-logo vault-header-logo--detail"
:src="cryptoHeaderLogo"
alt=""
/>
<span>
<b>{{ detail.symbol }}</b>
<small>{{ detail.name }}</small>
@@ -1918,12 +1922,9 @@ onMounted(() => void crypto.load())
gap: 8px;
align-items: center;
}
.coin-detail-logo {
display: grid;
place-items: center;
.vault-header-logo--detail {
width: 28px;
height: 28px;
border-radius: 10px;
}
.vault-detail-title > span {
display: grid;