Fixed icons style in the header

This commit is contained in:
kvakazyambra 2023-07-23 18:59:28 +03:00
parent a607a30b28
commit c8c3418de1
2 changed files with 2 additions and 1 deletions

View File

@ -405,7 +405,7 @@
padding: 0; padding: 0;
&:hover { &:hover {
background: none; background: none !important;
.icon { .icon {
display: none; display: none;

View File

@ -112,6 +112,7 @@ export const HeaderAuth = (props: HeaderAuthProps) => {
<a href={getPagePath(router, 'create')}> <a href={getPagePath(router, 'create')}>
<span class={styles.textLabel}>{t('Create post')}</span> <span class={styles.textLabel}>{t('Create post')}</span>
<Icon name="pencil" class={styles.icon} /> <Icon name="pencil" class={styles.icon} />
<Icon name="pencil" class={clsx(styles.icon, styles.iconHover)} />
</a> </a>
</div> </div>
</Show> </Show>