style(footer): shrink Bitsocial logo to 18px and drop 1px

This commit is contained in:
Tommaso Casaburi
2026-07-20 16:52:22 +07:00
parent 829e90d65c
commit cfcb8cdb8c
3 changed files with 4 additions and 5 deletions
@@ -49,6 +49,6 @@ describe('SiteLegalMeta', () => {
expect(bitsocialLink?.textContent).toBe('');
expect(bitsocialLink?.previousSibling?.textContent).toContain('Bitsocial');
expect(bitsocialLink?.querySelector('img')?.getAttribute('src')).toBe('assets/logo/bitsocial.png');
expect(bitsocialLink?.querySelector('img')?.getAttribute('width')).toBe('20');
expect(bitsocialLink?.querySelector('img')?.getAttribute('width')).toBe('18');
});
});
@@ -8,12 +8,11 @@
flex: 0 0 auto;
margin-left: 1px;
line-height: 0;
transform: translateY(-1px);
}
.bitsocialLogo {
display: block;
width: 20px;
height: 20px;
width: 18px;
height: 18px;
filter: contrast(1.12);
}
@@ -17,7 +17,7 @@ const LicenseText = () => {
<span className={styles.licenseText}>
{t('site_legal_meta_license_text')} {t('site_legal_meta_powered_by')} Bitsocial
<a className={styles.bitsocialLogoLink} href='https://bitsocial.net' target='_blank' rel='noopener noreferrer' aria-label='Bitsocial'>
<img className={styles.bitsocialLogo} src='assets/logo/bitsocial.png' alt='' width='20' height='20' />
<img className={styles.bitsocialLogo} src='assets/logo/bitsocial.png' alt='' width='18' height='18' />
</a>
</span>
);