1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:44:26 +00:00
This commit is contained in:
Kerwin Bryant 2024-11-29 00:27:24 +00:00
parent 8444c78397
commit ae44ed2cf6
2 changed files with 2 additions and 15 deletions

View File

@ -122,10 +122,10 @@
</div><!-- end dropdown menu create new -->
<div class="ui dropdown jump item tw-mx-0 tw-pr-2" data-tooltip-content="{{ctx.Locale.Tr "user_profile_and_more"}}">
{{ctx.AvatarUtils.Avatar .SignedUser 36 "not-mobile"}}
<span class="text tw-flex tw-items-center only-mobile">
<span class="text tw-flex tw-items-center">
{{ctx.AvatarUtils.Avatar .SignedUser 24 "tw-mr-1"}}
<span class="only-mobile tw-ml-2">{{.SignedUser.Name}}</span>
<span class="not-mobile">{{svg "octicon-triangle-down"}}</span>
</span>
<div class="menu user-menu">
<div class="ui header">

View File

@ -39,19 +39,6 @@
border-radius: .28571429rem;
}
@media (min-width: 768px) {
.navbar-right > .item:not(:has(.ui.avatar)) {
border: 1px solid;
border-color: var(--color-secondary);
}
.navbar-right > .item:has(.ui.avatar) {
padding: 0!important;
}
}
#navbar .item {
min-height: 36px;
min-width: 36px;