|
11 | 11 | </a>
|
12 | 12 |
|
13 | 13 | <!-- mobile right menu, it must be here because in mobile view, each item is a flex column, the first item is a full row column -->
|
14 |
| - <div class="ui secondary menu item navbar-mobile-right mobile-only"> |
| 14 | + <div class="ui secondary menu item navbar-mobile-right only-mobile"> |
15 | 15 | {{if .IsSigned}}
|
16 | 16 | <a id="mobile-notifications-icon" class="item tw-w-auto gt-p-3" href="{{AppSubUrl}}/notifications" data-tooltip-content="{{ctx.Locale.Tr "notifications"}}" aria-label="{{ctx.Locale.Tr "notifications"}}">
|
17 | 17 | <div class="tw-relative">
|
|
58 | 58 | <div class="ui dropdown jump item" data-tooltip-content="{{ctx.Locale.Tr "user_profile_and_more"}}">
|
59 | 59 | <span class="text gt-df gt-ac">
|
60 | 60 | {{ctx.AvatarUtils.Avatar .SignedUser 24 "gt-mr-2"}}
|
61 |
| - <span class="mobile-only gt-ml-3">{{.SignedUser.Name}}</span> |
| 61 | + <span class="only-mobile gt-ml-3">{{.SignedUser.Name}}</span> |
62 | 62 | <span class="not-mobile">{{svg "octicon-triangle-down"}}</span>
|
63 | 63 | </span>
|
64 | 64 | <div class="menu user-menu">
|
|
80 | 80 | {{svg "octicon-stopwatch"}}
|
81 | 81 | <span class="header-stopwatch-dot"></span>
|
82 | 82 | </div>
|
83 |
| - <span class="mobile-only gt-ml-3">{{ctx.Locale.Tr "active_stopwatch"}}</span> |
| 83 | + <span class="only-mobile gt-ml-3">{{ctx.Locale.Tr "active_stopwatch"}}</span> |
84 | 84 | </a>
|
85 | 85 | <div class="active-stopwatch-popup item tippy-target gt-p-3">
|
86 | 86 | <div class="gt-df gt-ac">
|
|
122 | 122 | <span class="text">
|
123 | 123 | {{svg "octicon-plus"}}
|
124 | 124 | <span class="not-mobile">{{svg "octicon-triangle-down"}}</span>
|
125 |
| - <span class="mobile-only">{{ctx.Locale.Tr "create_new"}}</span> |
| 125 | + <span class="only-mobile">{{ctx.Locale.Tr "create_new"}}</span> |
126 | 126 | </span>
|
127 | 127 | <div class="menu">
|
128 | 128 | <a class="item" href="{{AppSubUrl}}/repo/create">
|
|
144 | 144 | <div class="ui dropdown jump item gt-mx-0 gt-pr-3" data-tooltip-content="{{ctx.Locale.Tr "user_profile_and_more"}}">
|
145 | 145 | <span class="text gt-df gt-ac">
|
146 | 146 | {{ctx.AvatarUtils.Avatar .SignedUser 24 "gt-mr-2"}}
|
147 |
| - <span class="mobile-only gt-ml-3">{{.SignedUser.Name}}</span> |
| 147 | + <span class="only-mobile gt-ml-3">{{.SignedUser.Name}}</span> |
148 | 148 | <span class="not-mobile">{{svg "octicon-triangle-down"}}</span>
|
149 | 149 | </span>
|
150 | 150 | <div class="menu user-menu">
|
|
0 commit comments