Skip to content

Commit 1ea5216

Browse files
Replace text-align classes with tailwind (#33905)
Small refactor to remove these CSS classes in favor of tailwind. --------- Co-authored-by: wxiaoguang <[email protected]>
1 parent 01c8f09 commit 1ea5216

40 files changed

+83
-136
lines changed

templates/admin/dashboard.tmpl

+13-13
Original file line numberDiff line numberDiff line change
@@ -15,57 +15,57 @@
1515
<tbody>
1616
<tr>
1717
<td>{{ctx.Locale.Tr "admin.dashboard.delete_inactive_accounts"}}</td>
18-
<td class="text right"><button type="submit" class="ui primary button" name="op" value="delete_inactive_accounts">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
18+
<td class="tw-text-right"><button type="submit" class="ui primary button" name="op" value="delete_inactive_accounts">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
1919
</tr>
2020
<tr>
2121
<td>{{ctx.Locale.Tr "admin.dashboard.delete_repo_archives"}}</td>
22-
<td class="text right"><button type="submit" class="ui primary button" name="op" value="delete_repo_archives">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
22+
<td class="tw-text-right"><button type="submit" class="ui primary button" name="op" value="delete_repo_archives">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
2323
</tr>
2424
<tr>
2525
<td>{{ctx.Locale.Tr "admin.dashboard.delete_missing_repos"}}</td>
26-
<td class="text right"><button type="submit" class="ui primary button" name="op" value="delete_missing_repos">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
26+
<td class="tw-text-right"><button type="submit" class="ui primary button" name="op" value="delete_missing_repos">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
2727
</tr>
2828
<tr>
2929
<td>{{ctx.Locale.Tr "admin.dashboard.git_gc_repos"}}</td>
30-
<td class="text right"><button type="submit" class="ui primary button" name="op" value="git_gc_repos">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
30+
<td class="tw-text-right"><button type="submit" class="ui primary button" name="op" value="git_gc_repos">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
3131
</tr>
3232
{{if and (not .SSH.Disabled) (not .SSH.StartBuiltinServer)}}
3333
<tr>
3434
<td>{{ctx.Locale.Tr "admin.dashboard.resync_all_sshkeys"}}</td>
35-
<td class="text right"><button type="submit" class="ui primary button" name="op" value="resync_all_sshkeys">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
35+
<td class="tw-text-right"><button type="submit" class="ui primary button" name="op" value="resync_all_sshkeys">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
3636
</tr>
3737
<tr>
3838
<td>{{ctx.Locale.Tr "admin.dashboard.resync_all_sshprincipals"}}</td>
39-
<td class="text right"><button type="submit" class="ui primary button" name="op" value="resync_all_sshprincipals">{{svg "octicon-play" 16}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
39+
<td class="tw-text-right"><button type="submit" class="ui primary button" name="op" value="resync_all_sshprincipals">{{svg "octicon-play" 16}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
4040
</tr>
4141
{{end}}
4242
<tr>
4343
<td>{{ctx.Locale.Tr "admin.dashboard.resync_all_hooks"}}</td>
44-
<td class="text right"><button type="submit" class="ui primary button" name="op" value="resync_all_hooks">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
44+
<td class="tw-text-right"><button type="submit" class="ui primary button" name="op" value="resync_all_hooks">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
4545
</tr>
4646
<tr>
4747
<td>{{ctx.Locale.Tr "admin.dashboard.reinit_missing_repos"}}</td>
48-
<td class="text right"><button type="submit" class="ui primary button" name="op" value="reinit_missing_repos">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
48+
<td class="tw-text-right"><button type="submit" class="ui primary button" name="op" value="reinit_missing_repos">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
4949
</tr>
5050
<tr>
5151
<td>{{ctx.Locale.Tr "admin.dashboard.sync_external_users"}}</td>
52-
<td class="text right"><button type="submit" class="ui primary button" name="op" value="sync_external_users">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
52+
<td class="tw-text-right"><button type="submit" class="ui primary button" name="op" value="sync_external_users">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
5353
</tr>
5454
<tr>
5555
<td>{{ctx.Locale.Tr "admin.dashboard.repo_health_check"}}</td>
56-
<td class="text right"><button type="submit" class="ui primary button" name="op" value="repo_health_check">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
56+
<td class="tw-text-right"><button type="submit" class="ui primary button" name="op" value="repo_health_check">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
5757
</tr>
5858
<tr>
5959
<td>{{ctx.Locale.Tr "admin.dashboard.delete_generated_repository_avatars"}}</td>
60-
<td class="text right"><button type="submit" class="ui primary button" name="op" value="delete_generated_repository_avatars">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
60+
<td class="tw-text-right"><button type="submit" class="ui primary button" name="op" value="delete_generated_repository_avatars">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
6161
</tr>
6262
<tr>
6363
<td>{{ctx.Locale.Tr "admin.dashboard.sync_repo_branches"}}</td>
64-
<td class="text right"><button type="submit" class="ui primary button" name="op" value="sync_repo_branches">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
64+
<td class="tw-text-right"><button type="submit" class="ui primary button" name="op" value="sync_repo_branches">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
6565
</tr>
6666
<tr>
6767
<td>{{ctx.Locale.Tr "admin.dashboard.sync_repo_tags"}}</td>
68-
<td class="text right"><button type="submit" class="ui primary button" name="op" value="sync_repo_tags">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
68+
<td class="tw-text-right"><button type="submit" class="ui primary button" name="op" value="sync_repo_tags">{{svg "octicon-play"}} {{ctx.Locale.Tr "admin.dashboard.operation_run"}}</button></td>
6969
</tr>
7070
</tbody>
7171
</table>

templates/devtest/fomantic-modal.tmpl

+10
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,16 @@
4949
</form>
5050
</div>
5151

52+
<div id="test-modal-form-5" class="ui mini modal">
53+
<div class="header">Form dialog (layout 5)</div>
54+
<div class="content">
55+
<form method="post">
56+
<div class="ui input tw-w-full"><input name="user_input"></div>
57+
{{template "base/modal_actions_confirm" (dict "ModalButtonTypes" "confirm")}}
58+
</form>
59+
</div>
60+
</div>
61+
5262
<div class="ui g-modal-confirm modal" id="test-modal-default">
5363
<div class="header">{{svg "octicon-file"}} Default dialog <span>title</span></div>
5464
<div class="content">

templates/install.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{template "base/head" .}}
22
<div role="main" aria-label="{{.Title}}" class="page-content install">
33
<div class="ui grid install-config-container">
4-
<div class="sixteen wide center aligned centered column">
4+
<div class="sixteen wide tw-text-center centered column">
55
<h3 class="ui top attached header">
66
{{ctx.Locale.Tr "install.title"}}
77
</h3>

templates/org/team/new.tmpl

+6-6
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@
7777
<thead>
7878
<tr>
7979
<th>{{ctx.Locale.Tr "units.unit"}}</th>
80-
<th class="center aligned">{{ctx.Locale.Tr "org.teams.none_access"}}
80+
<th class="tw-text-center">{{ctx.Locale.Tr "org.teams.none_access"}}
8181
<span class="tw-align-middle" data-tooltip-content="{{ctx.Locale.Tr "org.teams.none_access_helper"}}">{{svg "octicon-question" 16 "tw-ml-1"}}</span></th>
82-
<th class="center aligned">{{ctx.Locale.Tr "org.teams.read_access"}}
82+
<th class="tw-text-center">{{ctx.Locale.Tr "org.teams.read_access"}}
8383
<span class="tw-align-middle" data-tooltip-content="{{ctx.Locale.Tr "org.teams.read_access_helper"}}">{{svg "octicon-question" 16 "tw-ml-1"}}</span></th>
84-
<th class="center aligned">{{ctx.Locale.Tr "org.teams.write_access"}}
84+
<th class="tw-text-center">{{ctx.Locale.Tr "org.teams.write_access"}}
8585
<span class="tw-align-middle" data-tooltip-content="{{ctx.Locale.Tr "org.teams.write_access_helper"}}">{{svg "octicon-question" 16 "tw-ml-1"}}</span></th>
8686
</tr>
8787
</thead>
@@ -97,17 +97,17 @@
9797
</div>
9898
</div>
9999
</td>
100-
<td class="center aligned">
100+
<td class="tw-text-center">
101101
<div class="ui radio checkbox">
102102
<input type="radio" name="unit_{{$unit.Type.Value}}" value="0"{{if or ($unit.Type.UnitGlobalDisabled) (eq ($.Team.UnitAccessMode ctx $unit.Type) 0)}} checked{{end}} title="{{ctx.Locale.Tr "org.teams.none_access"}}">
103103
</div>
104104
</td>
105-
<td class="center aligned">
105+
<td class="tw-text-center">
106106
<div class="ui radio checkbox">
107107
<input type="radio" name="unit_{{$unit.Type.Value}}" value="1"{{if or (eq $.Team.ID 0) (eq ($.Team.UnitAccessMode ctx $unit.Type) 1)}} checked{{end}} {{if $unit.Type.UnitGlobalDisabled}}disabled{{end}} title="{{ctx.Locale.Tr "org.teams.read_access"}}">
108108
</div>
109109
</td>
110-
<td class="center aligned">
110+
<td class="tw-text-center">
111111
<div class="ui radio checkbox">
112112
<input type="radio" name="unit_{{$unit.Type.Value}}" value="2"{{if (ge ($.Team.UnitAccessMode ctx $unit.Type) 2)}} checked{{end}} {{if $unit.Type.UnitGlobalDisabled}}disabled{{end}} title="{{ctx.Locale.Tr "org.teams.write_access"}}">
113113
</div>

templates/org/team/teams.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="ui container">
55
{{template "base/alert" .}}
66
{{if .IsOrganizationOwner}}
7-
<div class="text right">
7+
<div class="tw-text-right">
88
<a class="ui primary button" href="{{.OrgLink}}/teams/new">{{svg "octicon-plus"}} {{ctx.Locale.Tr "org.create_new_team"}}</a>
99
</div>
1010
<div class="divider"></div>

templates/projects/view.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
{{template "repo/issue/label_precolors"}}
136136
</div>
137137
</div>
138-
<div class="actions tw-text-right">
138+
<div class="actions">
139139
<button class="ui cancel button">{{ctx.Locale.Tr "settings.cancel"}}</button>
140140
<button type="submit" class="ui primary button project-column-button-save">save</button>
141141
</div>

templates/repo/branch/list.tmpl

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<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}} &nbsp;{{template "shared/user/avatarlink" dict "user" .DefaultBranchBranch.DBBranch.Pusher}}{{template "shared/user/namelink" .DefaultBranchBranch.DBBranch.Pusher}}{{end}}</p>
3131
</td>
3232
{{/* 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+
<td class="tw-text-right tw-overflow-visible">
3434
{{if and $.IsWriter (not $.Repository.IsArchived) (not .IsDeleted)}}
3535
<button class="btn interact-bg show-create-branch-modal tw-p-2"
3636
data-modal="#create-branch-modal"
@@ -121,7 +121,7 @@
121121
</div>
122122
{{end}}
123123
</td>
124-
<td class="two wide right aligned">
124+
<td class="two wide tw-text-right">
125125
{{if not .LatestPullRequest}}
126126
{{if .IsIncluded}}
127127
<span class="ui orange large label" data-tooltip-content="{{ctx.Locale.Tr "repo.branch.included_desc"}}">
@@ -150,7 +150,7 @@
150150
{{end}}
151151
</td>
152152
{{/* FIXME: here and above, the tw-overflow-visible is not quite right */}}
153-
<td class="three wide right aligned tw-overflow-visible">
153+
<td class="three wide tw-text-right tw-overflow-visible">
154154
{{if and $.IsWriter (not $.Repository.IsArchived) (not .DBBranch.IsDeleted)}}
155155
<button class="btn interact-bg tw-p-2 show-modal show-create-branch-modal"
156156
data-branch-from="{{.DBBranch.Name}}"

templates/repo/commit_page.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
<input id="new_branch_name" name="new_branch_name" required>
8484
</div>
8585

86-
<div class="text right actions">
86+
<div class="actions">
8787
<button class="ui cancel button">{{ctx.Locale.Tr "settings.cancel"}}</button>
8888
<button class="ui primary button">{{ctx.Locale.Tr "repo.branch.confirm_create_branch"}}</button>
8989
</div>
@@ -108,7 +108,7 @@
108108
<input id="new_branch_name" name="new_branch_name" required>
109109
</div>
110110

111-
<div class="text right actions">
111+
<div class="actions">
112112
<button class="ui cancel button">{{ctx.Locale.Tr "settings.cancel"}}</button>
113113
<button class="ui primary button">{{ctx.Locale.Tr "repo.tag.confirm_create_tag"}}</button>
114114
</div>

templates/repo/commits_list.tmpl

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<th class="three wide">{{ctx.Locale.Tr "repo.commits.author"}}</th>
66
<th class="two wide sha">{{StringUtils.ToUpper $.Repository.ObjectFormatName}}</th>
77
<th class="eight wide message">{{ctx.Locale.Tr "repo.commits.message"}}</th>
8-
<th class="two wide right aligned">{{ctx.Locale.Tr "repo.commits.date"}}</th>
8+
<th class="two wide tw-text-right">{{ctx.Locale.Tr "repo.commits.date"}}</th>
99
<th class="one wide"></th>
1010
</tr>
1111
</thead>
@@ -61,11 +61,11 @@
6161
{{end}}
6262
</td>
6363
{{if .Committer}}
64-
<td class="text right aligned">{{DateUtils.TimeSince .Committer.When}}</td>
64+
<td class="tw-text-right">{{DateUtils.TimeSince .Committer.When}}</td>
6565
{{else}}
66-
<td class="text right aligned">{{DateUtils.TimeSince .Author.When}}</td>
66+
<td class="tw-text-right">{{DateUtils.TimeSince .Author.When}}</td>
6767
{{end}}
68-
<td class="text right aligned tw-py-0">
68+
<td class="tw-text-right tw-py-0">
6969
<button class="btn interact-bg tw-p-2 copy-commit-id" data-tooltip-content="{{ctx.Locale.Tr "copy_hash"}}" data-clipboard-text="{{.ID}}">{{svg "octicon-copy"}}</button>
7070
{{/* at the moment, wiki doesn't support these "view" links like "view at history point" */}}
7171
{{if not $.PageIsWiki}}

templates/repo/diff/box.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
{{template "repo/upload" .}}
236236
</div>
237237
{{end}}
238-
<div class="text right edit buttons">
238+
<div class="tw-text-right edit buttons">
239239
<button class="ui cancel button">{{ctx.Locale.Tr "repo.issues.cancel"}}</button>
240240
<button class="ui primary button">{{ctx.Locale.Tr "repo.issues.save"}}</button>
241241
</div>

templates/repo/issue/choose.tmpl

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
{{range .IssueTemplates}}
1111
<div class="ui attached segment">
1212
<div class="ui two column grid">
13-
<div class="column left aligned">
13+
<div class="column">
1414
<strong>{{.Name}}</strong>
1515
<br>{{.About}}
1616
</div>
17-
<div class="column right aligned">
17+
<div class="column tw-text-right">
1818
<a href="{{$.RepoLink}}/issues/new?template={{.FileName}}{{if $.milestone}}&milestone={{$.milestone}}{{end}}{{if $.project}}&project={{$.project}}{{end}}" class="ui primary button">{{ctx.Locale.Tr "repo.issues.choose.get_started"}}</a>
1919
</div>
2020
</div>
@@ -23,11 +23,11 @@
2323
{{range .IssueConfig.ContactLinks}}
2424
<div class="ui attached segment">
2525
<div class="ui two column grid">
26-
<div class="column left aligned">
26+
<div class="column">
2727
<strong>{{.Name}}</strong>
2828
<br>{{.About}}
2929
</div>
30-
<div class="column right aligned">
30+
<div class="column tw-text-right">
3131
<a href="{{.URL}}" class="ui primary button">{{svg "octicon-link-external"}} {{ctx.Locale.Tr "repo.issues.choose.open_external_link"}}</a>
3232
</div>
3333
</div>
@@ -36,11 +36,11 @@
3636
{{if .IssueConfig.BlankIssuesEnabled}}
3737
<div class="ui attached segment">
3838
<div class="ui two column grid">
39-
<div class="column left aligned">
39+
<div class="column">
4040
<strong>{{ctx.Locale.Tr "repo.issues.choose.blank"}}</strong>
4141
<br/>{{ctx.Locale.Tr "repo.issues.choose.blank_about"}}
4242
</div>
43-
<div class="column right aligned">
43+
<div class="column tw-text-right">
4444
<a href="{{.RepoLink}}/issues/new?{{if .milestone}}&milestone={{.milestone}}{{end}}{{if $.project}}&project={{$.project}}{{end}}" class="ui primary button">{{ctx.Locale.Tr "repo.issues.choose.get_started"}}</a>
4545
</div>
4646
</div>

templates/repo/issue/milestone_issues.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div class="tw-flex">
77
<h1 class="tw-mb-2">{{.Milestone.Name}}</h1>
88
{{if not .Repository.IsArchived}}
9-
<div class="text right tw-flex-1">
9+
<div class="tw-text-right tw-flex-1">
1010
{{if or .CanWriteIssues .CanWritePulls}}
1111
{{if .Milestone.IsClosed}}
1212
<a class="ui primary basic button link-action" href data-url="{{$.RepoLink}}/milestones/{{.MilestoneID}}/open">{{ctx.Locale.Tr "repo.milestones.open"}}

templates/repo/issue/new_form.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
{{else}}
3434
{{template "repo/issue/comment_tab" .}}
3535
{{end}}
36-
<div class="text right">
36+
<div class="tw-text-right">
3737
<button class="ui primary button">
3838
{{if .PageIsComparePull}}
3939
{{ctx.Locale.Tr "repo.pulls.create"}}

templates/repo/issue/sidebar/issue_management.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
</div>
7777
{{end}}
7878

79-
<div class="text right actions">
79+
<div class="actions">
8080
<button class="ui cancel button">{{ctx.Locale.Tr "settings.cancel"}}</button>
8181
<button class="ui red button">
8282
{{if .Issue.IsLocked}}

templates/repo/issue/sidebar/reviewer_list.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
<label for="issue-sidebar-dismiss-review-message">{{ctx.Locale.Tr "action.review_dismissed_reason"}}</label>
122122
<input id="issue-sidebar-dismiss-review-message" name="message">
123123
</div>
124-
<div class="text right actions">
124+
<div class="actions">
125125
<button class="ui cancel button">{{ctx.Locale.Tr "settings.cancel"}}</button>
126126
<button class="ui red button" type="submit">{{ctx.Locale.Tr "ok"}}</button>
127127
</div>

templates/repo/issue/view_content.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
{{template "repo/issue/comment_tab" .}}
8484
{{.CsrfTokenHtml}}
8585
<div class="field footer">
86-
<div class="text right">
86+
<div class="tw-text-right">
8787
{{if and (or .HasIssuesOrPullsWritePermission .IsIssuePoster) (not .DisableStatusChange)}}
8888
{{if .Issue.IsClosed}}
8989
<button id="status-button" class="ui primary basic button" data-status="{{ctx.Locale.Tr "repo.issues.reopen_issue"}}" data-status-and-comment="{{ctx.Locale.Tr "repo.issues.reopen_comment_issue"}}" name="status" value="reopen">
@@ -157,7 +157,7 @@
157157
{{end}}
158158

159159
<div class="field">
160-
<div class="text right edit">
160+
<div class="tw-text-right edit">
161161
<button type="button" class="ui cancel button">{{ctx.Locale.Tr "repo.issues.cancel"}}</button>
162162
<button type="submit" class="ui primary button">{{ctx.Locale.Tr "repo.issues.save"}}</button>
163163
</div>

templates/repo/issue/view_content/reference_issue_dialog.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<label><strong>{{ctx.Locale.Tr "repo.issues.reference_issue.body"}}</strong></label>
2121
<textarea name="content"></textarea>
2222
</div>
23-
<div class="text right">
23+
<div class="tw-text-right">
2424
<button class="ui primary button">{{ctx.Locale.Tr "repo.issues.create"}}</button>
2525
</div>
2626
</form>

0 commit comments

Comments
 (0)