File tree 6 files changed +13
-27
lines changed
6 files changed +13
-27
lines changed Original file line number Diff line number Diff line change 29
29
</div>
30
30
<p class="info tw-flex tw-items-center tw-my-1">{{svg "octicon-git-commit" 16 "tw-mr-1"}}<a href="{{.RepoLink}}/commit/{{PathEscape .DefaultBranchBranch.DBBranch.CommitID}}">{{ShortSha .DefaultBranchBranch.DBBranch.CommitID}}</a> · <span class="commit-message">{{ctx.RenderUtils.RenderCommitMessage .DefaultBranchBranch.DBBranch.CommitMessage (.Repository.ComposeMetas ctx)}}</span> · {{ctx.Locale.Tr "org.repo_updated"}} {{DateUtils.TimeSince .DefaultBranchBranch.DBBranch.CommitTime}}{{if .DefaultBranchBranch.DBBranch.Pusher}} {{template "shared/user/avatarlink" dict "user" .DefaultBranchBranch.DBBranch.Pusher}}{{template "shared/user/namelink" .DefaultBranchBranch.DBBranch.Pusher}}{{end}}</p>
31
31
</td>
32
- <td class="right aligned middle aligned overflow-visible">
32
+ {{/* FIXME: here and below, the tw-overflow-visible is not quite right but it is still needed the moment: to show the important buttons when the width is narrow */}}
33
+ <td class="right aligned middle aligned tw-overflow-visible">
33
34
{{if and $.IsWriter (not $.Repository.IsArchived) (not .IsDeleted)}}
34
35
<button class="btn interact-bg show-create-branch-modal tw-p-2"
35
36
data-modal="#create-branch-modal"
148
149
{{end}}
149
150
{{end}}
150
151
</td>
151
- <td class="three wide right aligned overflow-visible">
152
+ {{/* FIXME: here and above, the tw-overflow-visible is not quite right */}}
153
+ <td class="three wide right aligned tw-overflow-visible">
152
154
{{if and $.IsWriter (not $.Repository.IsArchived) (not .DBBranch.IsDeleted)}}
153
155
<button class="btn interact-bg tw-p-2 show-modal show-create-branch-modal"
154
156
data-branch-from="{{.DBBranch.Name}}"
Original file line number Diff line number Diff line change 733
733
<span class="field">
734
734
{{if .CodeIndexerStatus}}
735
735
<a rel="nofollow" class="ui sha label" href="{{.RepoLink}}/commit/{{.CodeIndexerStatus.CommitSha}}">
736
- <span class="shortsha"> {{ShortSha .CodeIndexerStatus.CommitSha}}</span>
736
+ {{ShortSha .CodeIndexerStatus.CommitSha}}
737
737
</a>
738
738
{{else}}
739
739
<span>{{ctx.Locale.Tr "repo.settings.admin_indexer_unindexed"}}</span>
752
752
<span class="field">
753
753
{{if and .StatsIndexerStatus .StatsIndexerStatus.CommitSha}}
754
754
<a rel="nofollow" class="ui sha label" href="{{.RepoLink}}/commit/{{.StatsIndexerStatus.CommitSha}}">
755
- <span class="shortsha"> {{ShortSha .StatsIndexerStatus.CommitSha}}</span>
755
+ {{ShortSha .StatsIndexerStatus.CommitSha}}
756
756
</a>
757
757
{{else}}
758
758
<span>{{ctx.Locale.Tr "repo.settings.admin_indexer_unindexed"}}</span>
Original file line number Diff line number Diff line change @@ -928,7 +928,8 @@ strong.attention-caution, svg.attention-caution {
928
928
color : var (--color-red-dark-1 );
929
929
}
930
930
931
- .center : not (.popup ) {
931
+ /* FIXME: this is a longstanding dirty patch since 2015, it only makes the pages more messy and shouldn't be used */
932
+ .center {
932
933
text-align : center;
933
934
}
934
935
Original file line number Diff line number Diff line change 1
- .explore .secondary-nav {
2
- border-width : 1px !important ;
3
- }
4
-
5
- .explore .secondary-nav .svg {
6
- width : 16px ;
7
- text-align : center;
8
- margin-right : 5px ;
9
- }
10
-
1
+ /* FIXME: need to refactor the repo branches list page and move these styles to proper place */
11
2
.ui .repository .branches .info {
12
3
font-size : 12px ;
13
4
color : var (--color-text-light );
20
11
overflow : hidden;
21
12
text-overflow : ellipsis;
22
13
}
23
-
24
- .ui .repository .branches .overflow-visible {
25
- overflow : visible;
26
- }
27
-
28
- /* fix alignment of PR popup in branches table */
29
- .ui .repository .branches table .ui .popup {
30
- text-align : left;
31
- }
Original file line number Diff line number Diff line change 82
82
@import "./review.css" ;
83
83
@import "./actions.css" ;
84
84
85
- @tailwind utilities;
86
85
@import "./helpers.css" ;
86
+
87
+ @tailwind utilities;
Original file line number Diff line number Diff line change 103
103
# navbar .ui .dropdown .navbar-profile-admin {
104
104
display : block;
105
105
position : absolute;
106
- font-size : 10 px ;
106
+ font-size : 9 px ;
107
107
font-weight : var (--font-weight-bold );
108
108
color : var (--color-nav-bg );
109
109
background : var (--color-primary );
110
- padding : 2px 4 px ;
110
+ padding : 2px 3 px ;
111
111
border-radius : 10px ;
112
112
top : -1px ;
113
113
left : 18px ;
You can’t perform that action at this time.
0 commit comments