mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
style(footer): shrink Bitsocial logo to 18px and drop 1px
This commit is contained in:
@@ -49,6 +49,6 @@ describe('SiteLegalMeta', () => {
|
|||||||
expect(bitsocialLink?.textContent).toBe('');
|
expect(bitsocialLink?.textContent).toBe('');
|
||||||
expect(bitsocialLink?.previousSibling?.textContent).toContain('Bitsocial');
|
expect(bitsocialLink?.previousSibling?.textContent).toContain('Bitsocial');
|
||||||
expect(bitsocialLink?.querySelector('img')?.getAttribute('src')).toBe('assets/logo/bitsocial.png');
|
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;
|
flex: 0 0 auto;
|
||||||
margin-left: 1px;
|
margin-left: 1px;
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
transform: translateY(-1px);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.bitsocialLogo {
|
.bitsocialLogo {
|
||||||
display: block;
|
display: block;
|
||||||
width: 20px;
|
width: 18px;
|
||||||
height: 20px;
|
height: 18px;
|
||||||
filter: contrast(1.12);
|
filter: contrast(1.12);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ const LicenseText = () => {
|
|||||||
<span className={styles.licenseText}>
|
<span className={styles.licenseText}>
|
||||||
{t('site_legal_meta_license_text')} {t('site_legal_meta_powered_by')} Bitsocial
|
{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'>
|
<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>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user