Skip to content

Commit 6f00d92

Browse files
committed
fix
1 parent 50133b0 commit 6f00d92

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

templates/admin/dashboard.tmpl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
<h4 class="ui top attached header">
1717
{{.locale.Tr "admin.dashboard.operations"}}
1818
</h4>
19-
<form method="post" action="{{AppSubUrl}}/admin">
20-
{{.CsrfTokenHtml}}
21-
<div class="ui attached table segment">
19+
<div class="ui attached table segment">
20+
<form method="post" action="{{AppSubUrl}}/admin">
21+
{{.CsrfTokenHtml}}
2222
<table class="ui very basic table gt-px-4">
2323
<tbody>
2424
<tr>
@@ -71,8 +71,8 @@
7171
</tr>
7272
</tbody>
7373
</table>
74-
</div>
75-
</form>
74+
</form>
75+
</div>
7676

7777
<h4 class="ui top attached header">
7878
{{.locale.Tr "admin.dashboard.system_status"}}

web_src/css/admin.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,7 @@
6060
white-space: pre-wrap;
6161
word-wrap: break-word;
6262
}
63+
64+
.admin .ui.table.segment {
65+
overflow-x: auto; /* if the screen width is small, many wide tables (eg: user list) need scroll bars */
66+
}

0 commit comments

Comments
 (0)