File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 122122 </div><!-- end dropdown menu create new -->
123123
124124 <div class="ui dropdown jump item tw-mx-0 tw-pr-2" data-tooltip-content="{{ctx.Locale.Tr "user_profile_and_more"}}">
125- <span class="text tw-flex tw-items-center">
125+ {{ctx.AvatarUtils.Avatar .SignedUser 36 "not-mobile"}}
126+ <span class="text tw-flex tw-items-center only-mobile">
126127 {{ctx.AvatarUtils.Avatar .SignedUser 24 "tw-mr-1"}}
127128 <span class="only-mobile tw-ml-2">{{.SignedUser.Name}}</span>
128- <span class="not-mobile">{{svg "octicon-triangle-down"}}</span>
129129 </span>
130130 <div class="menu user-menu">
131131 <div class="ui header">
Original file line number Diff line number Diff line change 3939 border-radius : .28571429rem ;
4040}
4141
42+ @media (min-width : 768px ) {
43+
44+ .navbar-right > .item : not (: has (.ui .avatar )) {
45+ border : 1px solid;
46+ border-color : var (--color-secondary );
47+ }
48+
49+ .navbar-right > .item : has (.ui .avatar ) {
50+ padding : 0 !important ;
51+ }
52+
53+ }
54+
4255# navbar .item {
4356 min-height : 36px ;
4457 min-width : 36px ;
You can’t perform that action at this time.
0 commit comments