Skip to content

Commit f1a4330

Browse files
HesterGwxiaoguang
andauthored
Modify width of ui container, fine tune css for settings pages and org header (#24315)
Close #24302 Part of #24229, Follows #24246 This PR focused on CSS style fine-tune, main changes: 1. Give `.ui.ui.ui.container` a width of `1280px` with a max-width of `calc(100vw - 64px)`, so the main contents looks better on large devices. 2. Share styles for table elements in all levels settings pages to fix overflow of runners table on mobile and for consistency (The headers on mobile can be further improved, but haven't found a proper way yet). 3. Use [stackable grid](https://fomantic-ui.com/collections/grid.html#stackable) and [device column width](https://fomantic-ui.com/examples/responsive.html) for responsiveness for some pages (repo/org collaborators settings pages, org teams related page) 4. Fixed #24302 by sharing label related CSS in reporg.css 5. Fine tune repo tags settings page --------- Co-authored-by: wxiaoguang <[email protected]>
1 parent 58caf42 commit f1a4330

20 files changed

+122
-143
lines changed

templates/admin/dashboard.tmpl

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,55 +19,55 @@
1919
<form method="post" action="{{AppSubUrl}}/admin">
2020
{{.CsrfTokenHtml}}
2121
<div class="ui attached table segment">
22-
<table class="ui very basic table">
22+
<table class="ui very basic table gt-px-4">
2323
<tbody>
2424
<tr>
2525
<td>{{.locale.Tr "admin.dashboard.delete_inactive_accounts"}}</td>
26-
<td><button type="submit" class="ui green button" name="op" value="delete_inactive_accounts">{{svg "octicon-play"}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
26+
<td><button type="submit" class="ui green button right" name="op" value="delete_inactive_accounts">{{svg "octicon-play"}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
2727
</tr>
2828
<tr>
2929
<td>{{.locale.Tr "admin.dashboard.delete_repo_archives"}}</td>
30-
<td><button type="submit" class="ui green button" name="op" value="delete_repo_archives">{{svg "octicon-play"}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
30+
<td><button type="submit" class="ui green button right" name="op" value="delete_repo_archives">{{svg "octicon-play"}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
3131
</tr>
3232
<tr>
3333
<td>{{.locale.Tr "admin.dashboard.delete_missing_repos"}}</td>
34-
<td><button type="submit" class="ui green button" name="op" value="delete_missing_repos">{{svg "octicon-play"}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
34+
<td><button type="submit" class="ui green button right" name="op" value="delete_missing_repos">{{svg "octicon-play"}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
3535
</tr>
3636
<tr>
3737
<td>{{.locale.Tr "admin.dashboard.git_gc_repos"}}</td>
38-
<td><button type="submit" class="ui green button" name="op" value="git_gc_repos">{{svg "octicon-play"}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
38+
<td><button type="submit" class="ui green button right" name="op" value="git_gc_repos">{{svg "octicon-play"}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
3939
</tr>
4040
{{if and (not .SSH.Disabled) (not .SSH.StartBuiltinServer)}}
4141
<tr>
4242
<td>{{.locale.Tr "admin.dashboard.resync_all_sshkeys"}}<br>
4343
{{.locale.Tr "admin.dashboard.resync_all_sshkeys.desc"}}</td>
44-
<td><button type="submit" class="ui green button" name="op" value="resync_all_sshkeys">{{svg "octicon-play"}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
44+
<td><button type="submit" class="ui green button right" name="op" value="resync_all_sshkeys">{{svg "octicon-play"}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
4545
</tr>
4646
<tr>
4747
<td>{{.locale.Tr "admin.dashboard.resync_all_sshprincipals"}}<br>
4848
{{.locale.Tr "admin.dashboard.resync_all_sshprincipals.desc"}}</td>
49-
<td><button type="submit" class="ui green button" name="op" value="resync_all_sshprincipals">{{svg "octicon-play" 16}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
49+
<td><button type="submit" class="ui green button right" name="op" value="resync_all_sshprincipals">{{svg "octicon-play" 16}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
5050
</tr>
5151
{{end}}
5252
<tr>
5353
<td>{{.locale.Tr "admin.dashboard.resync_all_hooks"}}</td>
54-
<td><button type="submit" class="ui green button" name="op" value="resync_all_hooks">{{svg "octicon-play"}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
54+
<td><button type="submit" class="ui green button right" name="op" value="resync_all_hooks">{{svg "octicon-play"}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
5555
</tr>
5656
<tr>
5757
<td>{{.locale.Tr "admin.dashboard.reinit_missing_repos"}}</td>
58-
<td><button type="submit" class="ui green button" name="op" value="reinit_missing_repos">{{svg "octicon-play"}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
58+
<td><button type="submit" class="ui green button right" name="op" value="reinit_missing_repos">{{svg "octicon-play"}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
5959
</tr>
6060
<tr>
6161
<td>{{.locale.Tr "admin.dashboard.sync_external_users"}}</td>
62-
<td><button type="submit" class="ui green button" name="op" value="sync_external_users">{{svg "octicon-play"}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
62+
<td><button type="submit" class="ui green button right" name="op" value="sync_external_users">{{svg "octicon-play"}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
6363
</tr>
6464
<tr>
6565
<td>{{.locale.Tr "admin.dashboard.repo_health_check"}}</td>
66-
<td><button type="submit" class="ui green button" name="op" value="repo_health_check">{{svg "octicon-play"}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
66+
<td><button type="submit" class="ui green button right" name="op" value="repo_health_check">{{svg "octicon-play"}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
6767
</tr>
6868
<tr>
6969
<td>{{.locale.Tr "admin.dashboard.delete_generated_repository_avatars"}}</td>
70-
<td><button type="submit" class="ui green button" name="op" value="delete_generated_repository_avatars">{{svg "octicon-play"}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
70+
<td><button type="submit" class="ui green button right" name="op" value="delete_generated_repository_avatars">{{svg "octicon-play"}} {{.locale.Tr "admin.dashboard.operation_run"}}</button></td>
7171
</tr>
7272
</tbody>
7373
</table>

templates/admin/notice.tmpl

Lines changed: 49 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -3,67 +3,60 @@
33
<h4 class="ui top attached header">
44
{{.locale.Tr "admin.notices.system_notice_list"}} ({{.locale.Tr "admin.total" .Total}})
55
</h4>
6-
<div class="ui attached table segment">
7-
<table id="notice-table" class="ui very basic select selectable table unstackable">
8-
<thead>
6+
<table class="ui attached basic select selectable table unstackable g-table-auto-ellipsis">
7+
<thead>
8+
<tr>
9+
<th></th>
10+
<th>ID</th>
11+
<th>{{.locale.Tr "admin.notices.type"}}</th>
12+
<th>{{.locale.Tr "admin.notices.desc"}}</th>
13+
<th>{{.locale.Tr "admin.users.created"}}</th>
14+
<th>{{.locale.Tr "admin.notices.op"}}</th>
15+
</tr>
16+
</thead>
17+
<tbody>
18+
{{range .Notices}}
919
<tr>
10-
<th></th>
11-
<th>ID</th>
12-
<th>{{.locale.Tr "admin.notices.type"}}</th>
13-
<th>{{.locale.Tr "admin.notices.desc"}}</th>
14-
<th width="100px">{{.locale.Tr "admin.users.created"}}</th>
15-
<th>{{.locale.Tr "admin.notices.op"}}</th>
20+
<td><div class="ui checkbox gt-db" data-id="{{.ID}}"><input type="checkbox"></div></td>
21+
<td>{{.ID}}</td>
22+
<td>{{$.locale.Tr .TrStr}}</td>
23+
<td class="view-detail auto-ellipsis" style="width: 80%;"><span class="notice-description">{{.Description}}</span></td>
24+
<td nowrap>{{DateTime "short" .CreatedUnix}}</td>
25+
<td class="view-detail"><a href="#">{{svg "octicon-note" 16}}</a></td>
1626
</tr>
17-
</thead>
18-
<tbody>
19-
{{range .Notices}}
27+
{{end}}
28+
</tbody>
29+
{{if .Notices}}
30+
<tfoot>
2031
<tr>
21-
<td class="collapsing">
22-
<div class="ui fitted checkbox" data-id="{{.ID}}">
23-
<input type="checkbox">
24-
</div>
25-
</td>
26-
<td>{{.ID}}</td>
27-
<td>{{$.locale.Tr .TrStr}}</td>
28-
<td class="view-detail"><span class="notice-description text truncate">{{.Description}}</span></td>
29-
<td>{{DateTime "short" .CreatedUnix}}</td>
30-
<td><a href="#">{{svg "octicon-note" 16 "view-detail"}}</a></td>
31-
</tr>
32-
{{end}}
33-
</tbody>
34-
{{if .Notices}}
35-
<tfoot class="full-width">
36-
<tr>
37-
<th></th>
38-
<th colspan="5">
39-
<form class="ui right" method="post" action="{{AppSubUrl}}/admin/notices/empty">
40-
{{.CsrfTokenHtml}}
41-
<button type="submit" class="ui red small button">{{.locale.Tr "admin.notices.delete_all"}}</button>
42-
</form>
43-
<div class="ui floating upward dropdown small button">{{/* TODO: Make this dropdown accessible */}}
44-
<span class="text">{{.locale.Tr "admin.notices.operations"}}</span>
45-
<div class="menu">
46-
<div class="item select action" data-action="select-all">
47-
{{.locale.Tr "admin.notices.select_all"}}
48-
</div>
49-
<div class="item select action" data-action="deselect-all">
50-
{{.locale.Tr "admin.notices.deselect_all"}}
51-
</div>
52-
<div class="item select action" data-action="inverse">
53-
{{.locale.Tr "admin.notices.inverse_selection"}}
54-
</div>
32+
<th></th>
33+
<th colspan="5">
34+
<form class="ui right" method="post" action="{{AppSubUrl}}/admin/notices/empty">
35+
{{.CsrfTokenHtml}}
36+
<button type="submit" class="ui red small button">{{.locale.Tr "admin.notices.delete_all"}}</button>
37+
</form>
38+
<div class="ui floating upward dropdown small button">{{/* TODO: Make this dropdown accessible */}}
39+
<span class="text">{{.locale.Tr "admin.notices.operations"}}</span>
40+
<div class="menu">
41+
<div class="item select action" data-action="select-all">
42+
{{.locale.Tr "admin.notices.select_all"}}
43+
</div>
44+
<div class="item select action" data-action="deselect-all">
45+
{{.locale.Tr "admin.notices.deselect_all"}}
46+
</div>
47+
<div class="item select action" data-action="inverse">
48+
{{.locale.Tr "admin.notices.inverse_selection"}}
5549
</div>
5650
</div>
57-
<button class="ui small teal button" id="delete-selection" data-link="{{.Link}}/delete" data-redirect="{{.Link}}?page={{.Page.Paginater.Current}}">
58-
{{.locale.Tr "admin.notices.delete_selected"}}
59-
</button>
60-
</th>
61-
</tr>
62-
</tfoot>
63-
{{end}}
64-
</table>
65-
</div>
66-
51+
</div>
52+
<button class="ui small teal button" id="delete-selection" data-link="{{.Link}}/delete" data-redirect="{{.Link}}?page={{.Page.Paginater.Current}}">
53+
{{.locale.Tr "admin.notices.delete_selected"}}
54+
</button>
55+
</th>
56+
</tr>
57+
</tfoot>
58+
{{end}}
59+
</table>
6760
{{template "base/paginate" .}}
6861
</div>
6962

templates/org/settings/runners.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "org/settings/layout_head" (dict "ctxData" . "pageClass" "organization settings runners")}}
2-
<div class="org-setting-content">
3-
{{template "shared/actions/runner_list" .}}
4-
</div>
2+
<div class="org-setting-content">
3+
{{template "shared/actions/runner_list" .}}
4+
</div>
55
{{template "org/settings/layout_footer" .}}

templates/org/team/members.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{{template "org/header" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}
6-
<div class="ui grid">
6+
<div class="ui stackable grid">
77
{{template "org/team/sidebar" .}}
88
<div class="ui ten wide column">
99
{{template "org/team/navbar" .}}

templates/org/team/repositories.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{{template "org/header" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}
6-
<div class="ui grid">
6+
<div class="ui stackable grid">
77
{{template "org/team/sidebar" .}}
88
<div class="ui ten wide column">
99
{{template "org/team/navbar" .}}

templates/org/team/teams.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<div class="ui divider"></div>
1111
{{end}}
1212

13-
<div class="ui two column grid">
13+
<div class="ui two column stackable grid">
1414
{{range .Teams}}
1515
<div class="column">
1616
<div class="ui top attached header">

templates/repo/actions/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{{template "repo/header" .}}
44

55
<div class="ui container">
6-
<div class="ui grid">
6+
<div class="ui stackable grid">
77
<div class="four wide column">
88
<div class="ui fluid vertical menu">
99
<a class="item{{if not $.CurWorkflow}} active{{end}}" href="{{$.Link}}">{{.locale.Tr "actions.runs.all_workflows"}}</a>

templates/repo/issue/labels/label_list.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
{{range .Labels}}
3131
<li class="item">
3232
<div class="ui grid middle aligned">
33-
<div class="nine wide column">
33+
<div class="eight wide column">
3434
{{RenderLabel $.Context .}}
3535
{{if .Description}}<br><small class="desc">{{.Description | RenderEmoji $.Context}}</small>{{end}}
3636
</div>
37-
<div class="four wide column">
37+
<div class="five wide column">
3838
{{if $.PageIsOrgSettingsLabels}}
3939
<a class="ui left open-issues" href="{{AppSubUrl}}/issues?labels={{.ID}}">{{svg "octicon-issue-opened"}} {{$.locale.Tr "repo.issues.label_open_issues" .NumOpenIssues}}</a>
4040
{{else}}

templates/repo/settings/collaboration.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
{{.DisplayName}}
1414
</a>
1515
</div>
16-
<div class="ui eight wide column">
16+
<div class="ui eight wide computer five wide mobile column">
1717
{{svg "octicon-shield-lock"}}
1818
<div class="ui inline dropdown access-mode" data-url="{{$.Link}}/access_mode" data-uid="{{.ID}}" data-last-value="{{printf "%d" .Collaboration.Mode}}">
1919
<div class="text">{{if eq .Collaboration.Mode 1}}{{$.locale.Tr "repo.settings.collaboration.read"}}{{else if eq .Collaboration.Mode 2}}{{$.locale.Tr "repo.settings.collaboration.write"}}{{else if eq .Collaboration.Mode 3}}{{$.locale.Tr "repo.settings.collaboration.admin"}}{{else}}{{$.locale.Tr "repo.settings.collaboration.undefined"}}{{end}}</div>
@@ -62,7 +62,7 @@
6262
{{.Name}}
6363
</a>
6464
</div>
65-
<div class="ui eight wide column" data-tooltip-content="{{$.locale.Tr "repo.settings.change_team_permission_tip"}}">
65+
<div class="ui eight wide computer five wide mobile column" data-tooltip-content="{{$.locale.Tr "repo.settings.change_team_permission_tip"}}">
6666
{{svg "octicon-shield-lock"}}
6767
<div class="ui inline dropdown">
6868
<div class="text">{{if eq .AccessMode 1}}{{$.locale.Tr "repo.settings.collaboration.read"}}{{else if eq .AccessMode 2}}{{$.locale.Tr "repo.settings.collaboration.write"}}{{else if eq .AccessMode 3}}{{$.locale.Tr "repo.settings.collaboration.admin"}}{{else if eq .AccessMode 4}}{{$.locale.Tr "repo.settings.collaboration.owner"}}{{else}}{{$.locale.Tr "repo.settings.collaboration.undefined"}}{{end}}</div>

templates/repo/settings/deploy_keys.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
{{.Fingerprint}}
6161
</div>
6262
<div class="activity meta">
63-
<i>{{$.locale.Tr "settings.add_on"}} <span>{{DateTime "short" .CreatedUnix}}</span> — {{svg "octicon-info"}} {{if .HasUsed}}{{$.locale.Tr "settings.last_used"}} <span {{if .HasRecentActivity}}class="green"{{end}}>{{DateTime "short" .UpdatedUnix.FormatLong .UpdatedUnix.FormatShort}}</span>{{else}}{{$.locale.Tr "settings.no_activity"}}{{end}} - <span>{{$.locale.Tr "settings.can_read_info"}}{{if not .IsReadOnly}} / {{$.locale.Tr "settings.can_write_info"}} {{end}}</span></i>
63+
<i>{{$.locale.Tr "settings.add_on"}} <span>{{DateTime "short" .CreatedUnix}}</span> — {{svg "octicon-info"}} {{if .HasUsed}}{{$.locale.Tr "settings.last_used"}} <span {{if .HasRecentActivity}}class="green"{{end}}>{{DateTime "short" .UpdatedUnix}}</span>{{else}}{{$.locale.Tr "settings.no_activity"}}{{end}} - <span>{{$.locale.Tr "settings.can_read_info"}}{{if not .IsReadOnly}} / {{$.locale.Tr "settings.can_write_info"}} {{end}}</span></i>
6464
</div>
6565
</div>
6666
</div>

templates/repo/settings/tags.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<div class="ui attached segment">
1313
<div class="ui grid">
14-
<div class="eight wide column">
14+
<div class="sixteen wide column">
1515
<div class="ui segment">
1616
<form class="ui form" action="{{.Link}}" method="post">
1717
{{.CsrfTokenHtml}}

templates/user/settings/applications.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</ul>
2828
</details>
2929
<div class="activity meta">
30-
<i>{{$.locale.Tr "settings.add_on"}} <span>{{DateTime "short" .CreatedUnix}}</span> — {{svg "octicon-info"}} {{if .HasUsed}}{{$.locale.Tr "settings.last_used"}} <span {{if .HasRecentActivity}}class="green"{{end}}>{{DateTime "short" .UpdatedUnix.FormatLong .UpdatedUnix.FormatShort}}</span>{{else}}{{$.locale.Tr "settings.no_activity"}}{{end}}</i>
30+
<i>{{$.locale.Tr "settings.add_on"}} <span>{{DateTime "short" .CreatedUnix}}</span> — {{svg "octicon-info"}} {{if .HasUsed}}{{$.locale.Tr "settings.last_used"}} <span {{if .HasRecentActivity}}class="green"{{end}}>{{DateTime "short" .UpdatedUnix}}</span>{{else}}{{$.locale.Tr "settings.no_activity"}}{{end}}</i>
3131
</div>
3232
</div>
3333
</div>

templates/user/settings/keys_principal.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<div class="content">
2626
<strong>{{.Name}}</strong>
2727
<div class="activity meta">
28-
<i>{{$.locale.Tr "settings.add_on"}} <span>{{DateTime "short" .CreatedUnix}}</span> — {{svg "octicon-info" 16}} {{if .HasUsed}}{{$.locale.Tr "settings.last_used"}} <span {{if .HasRecentActivity}}class="green"{{end}}>{{DateTime "short" .UpdatedUnix.FormatLong .UpdatedUnix.FormatShort}}</span>{{else}}{{$.locale.Tr "settings.no_activity"}}{{end}}</i>
28+
<i>{{$.locale.Tr "settings.add_on"}} <span>{{DateTime "short" .CreatedUnix}}</span> — {{svg "octicon-info" 16}} {{if .HasUsed}}{{$.locale.Tr "settings.last_used"}} <span {{if .HasRecentActivity}}class="green"{{end}}>{{DateTime "short" .UpdatedUnix}}</span>{{else}}{{$.locale.Tr "settings.no_activity"}}{{end}}</i>
2929
</div>
3030
</div>
3131
</div>

templates/user/settings/keys_ssh.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
{{.Fingerprint}}
6060
</div>
6161
<div class="activity meta">
62-
<i>{{$.locale.Tr "settings.add_on"}} <span>{{DateTime "short" .CreatedUnix}}</span> — {{svg "octicon-info"}} {{if .HasUsed}}{{$.locale.Tr "settings.last_used"}} <span {{if .HasRecentActivity}}class="green"{{end}}>{{DateTime "short" .UpdatedUnix.FormatLong .UpdatedUnix.FormatShort}}</span>{{else}}{{$.locale.Tr "settings.no_activity"}}{{end}}</i>
62+
<i>{{$.locale.Tr "settings.add_on"}} <span>{{DateTime "short" .CreatedUnix}}</span> — {{svg "octicon-info"}} {{if .HasUsed}}{{$.locale.Tr "settings.last_used"}} <span {{if .HasRecentActivity}}class="green"{{end}}>{{DateTime "short" .UpdatedUnix}}</span>{{else}}{{$.locale.Tr "settings.no_activity"}}{{end}}</i>
6363
</div>
6464
</div>
6565
</div>

templates/user/settings/repos.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
{{$.CsrfTokenHtml}}
4747
<input type="hidden" name="id" value="{{$dir}}">
4848
<input type="hidden" name="action" value="adopt">
49-
{{template "base/modal_actions_confirm" .}}
49+
{{template "base/modal_actions_confirm" $}}
5050
</form>
5151
</div>
5252
{{end}}

web_src/css/admin.css

Lines changed: 1 addition & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,6 @@
44
margin: 12px -1rem -1rem;
55
}
66

7-
.admin .table.segment {
8-
padding: 0;
9-
font-size: 13px;
10-
overflow-x: auto;
11-
}
12-
13-
.admin .table.segment:not(.striped) thead th:last-child {
14-
padding-right: 5px !important;
15-
}
16-
17-
.admin .table.segment th {
18-
padding-top: 5px;
19-
padding-bottom: 5px;
20-
}
21-
22-
.admin .table.segment:not(.select) th:first-of-type,
23-
.admin .table.segment:not(.select) td:first-of-type {
24-
padding-left: 15px !important;
25-
}
26-
27-
.admin .table.segment form tbody button[type="submit"] {
28-
padding: 5px 8px;
29-
}
30-
317
.admin .settings .button.adopt,
328
.admin .settings .button.delete {
339
margin-top: -15px;
@@ -44,7 +20,7 @@
4420
}
4521

4622
.admin dl.admin-dl-horizontal {
47-
padding: 20px;
23+
padding: 1em;
4824
margin: 0;
4925
}
5026

@@ -84,27 +60,3 @@
8460
white-space: pre-wrap;
8561
word-wrap: break-word;
8662
}
87-
88-
@media (max-width: 767px) {
89-
.admin #notice-table .notice-description {
90-
max-width: 80vw;
91-
}
92-
}
93-
94-
@media (min-width: 768px) and (max-width: 991px) {
95-
.admin #notice-table .notice-description {
96-
max-width: 360px;
97-
}
98-
}
99-
100-
@media (min-width: 992px) and (max-width: 1200px) {
101-
.admin #notice-table .notice-description {
102-
max-width: 510px;
103-
}
104-
}
105-
106-
@media (min-width: 1201px) {
107-
.admin #notice-table .notice-description {
108-
max-width: 640px;
109-
}
110-
}

0 commit comments

Comments
 (0)