armentieres: fix login / account link icon wrapping (#70745)
gitea-wip/publik-base-theme/pipeline/pr-main This commit looks good Details

This commit is contained in:
Corentin Sechet 2022-12-06 15:38:11 +01:00
parent 040ad10f7a
commit 82ba5c9dc3
1 changed files with 9 additions and 7 deletions

View File

@ -188,13 +188,15 @@ div#toplinks {
align-items: center;
}
&::before {
font-family: FontAwesome;
content: '';
width: 1.5rem;
height: 1.5rem;
background: url('/assets/profile:icon');
margin-right: 0.5rem;
.login-link, .account-link {
&::before {
font-family: FontAwesome;
content: '';
width: 1.5rem;
height: 1.5rem;
background: center / contain no-repeat url('/assets/profile:icon');
margin-right: 0.5rem;
}
}
}
}