mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-08-29 02:01:40 +00:00
FIX - center VaultX detail logos
Scope the detail title text layout to its final span so it no longer overrides CryptoLogo's centered grid. This keeps every market SVG centered inside its header mark.
This commit is contained in:
@@ -163,6 +163,8 @@ describe('VaultX crypto app contracts', () => {
|
||||
expect(source).toContain(
|
||||
'<CryptoLogo class="vault-detail-logo" :market="detail" />',
|
||||
)
|
||||
expect(source).toContain('.vault-detail-title > span:last-child')
|
||||
expect(source).not.toMatch(/\.vault-detail-title > span\s*\{/)
|
||||
expect(source).not.toContain('vault-header-logo--detail')
|
||||
expect(source).not.toContain('class="coin-detail-logo"')
|
||||
expect(source).not.toContain('.vault-header-brand > i')
|
||||
|
||||
@@ -2792,7 +2792,7 @@ onUnmounted(() => {
|
||||
height: 30px;
|
||||
border-radius: 11px;
|
||||
}
|
||||
.vault-detail-title > span {
|
||||
.vault-detail-title > span:last-child {
|
||||
display: grid;
|
||||
justify-items: start;
|
||||
line-height: 1.05;
|
||||
|
||||
Reference in New Issue
Block a user