mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 04:47:55 +01:00
Optimized the button styles on the right side of the top navigation bar
This commit is contained in:
parent
f9c54b8bf7
commit
cadfbad2b5
@ -122,10 +122,10 @@
|
|||||||
</div><!-- end dropdown menu create new -->
|
</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"}}">
|
<div class="ui dropdown jump item tw-mx-0 tw-pr-2" data-tooltip-content="{{ctx.Locale.Tr "user_profile_and_more"}}">
|
||||||
<span class="text tw-flex tw-items-center">
|
{{ctx.AvatarUtils.Avatar .SignedUser 36 "not-mobile"}}
|
||||||
|
<span class="text tw-flex tw-items-center only-mobile">
|
||||||
{{ctx.AvatarUtils.Avatar .SignedUser 24 "tw-mr-1"}}
|
{{ctx.AvatarUtils.Avatar .SignedUser 24 "tw-mr-1"}}
|
||||||
<span class="only-mobile tw-ml-2">{{.SignedUser.Name}}</span>
|
<span class="only-mobile tw-ml-2">{{.SignedUser.Name}}</span>
|
||||||
<span class="not-mobile">{{svg "octicon-triangle-down"}}</span>
|
|
||||||
</span>
|
</span>
|
||||||
<div class="menu user-menu">
|
<div class="menu user-menu">
|
||||||
<div class="ui header">
|
<div class="ui header">
|
||||||
|
@ -39,6 +39,19 @@
|
|||||||
border-radius: .28571429rem;
|
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 {
|
#navbar .item {
|
||||||
min-height: 36px;
|
min-height: 36px;
|
||||||
min-width: 36px;
|
min-width: 36px;
|
||||||
|
Loading…
Reference in New Issue
Block a user