スマホ版のUIを改善しUXを向上

This commit is contained in:
2026-04-26 15:51:30 +09:00
parent 2fdcca35e6
commit 19d65fec9d
7 changed files with 161 additions and 22 deletions

View File

@@ -7,7 +7,7 @@
{{if .users}}
<div class="table-responsive">
<table class="table table-hover" aria-label="ユーザー一覧">
<table class="table table-hover custom-table" aria-label="ユーザー一覧">
<thead class="table-light">
<tr>
<th scope="col">ID</th>
@@ -20,7 +20,7 @@
</thead>
<tbody>
{{range .users}}
<tr {{if eq .ID $.currentUserID}}class="table-primary"{{end}}>
<tr class="user-row {{if eq .ID $.currentUserID}}table-primary{{end}}">
<td>{{.ID}}</td>
<td>{{.Name}}{{if eq .ID $.currentUserID}}<span class="badge bg-info ms-2">自分</span>{{end}}</td>
<td>{{.Email}}</td>