Skip to content

Commit 2a2ca59

Browse files
committed
docs: form previews on the landing get a narrower label column, so the fields have more room AdminForth/2005
1 parent f980e35 commit 2a2ca59

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎documentation/static/landing-previews/previews.css‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,12 +233,12 @@ html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); }
233233
.list-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
234234
.list-head .btns { display: flex; gap: 8px; }
235235

236-
/* record form (GroupsTable) and show table: label column and value column */
236+
/* record form (GroupsTable) and show table: label column and value column, the labels are narrower than in the app (224px) to give the field more room */
237237
.ft { width: 100%; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); border-collapse: separate; border-spacing: 0; overflow: hidden; }
238238
.ft th { padding: 10px 20px; border-bottom: 1px solid var(--border); background: var(--bg); color: var(--muted); font-size: 12px; font-weight: 500; text-align: left; }
239239
.ft td { padding: 12px 20px; border-bottom: 1px solid var(--border); color: var(--text-2); }
240240
.ft tr:last-child td { border-bottom: 0; }
241-
.ft td:first-child { width: 224px; color: var(--text); font-weight: 500; }
241+
.ft td:first-child { width: 160px; color: var(--text); font-weight: 500; }
242242
.ft .req { width: 12px; height: 12px; color: var(--danger-fg); vertical-align: -1px; }
243243
.ft .help { margin-top: 4px; }
244244

‎documentation/static/landing-previews/users.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
</table>
5050
</main>
5151
</div>
52-
<div class="pop" style="position: absolute; top: 364px; left: 525px; width: 302px">
52+
<div class="pop" style="position: absolute; top: 364px; left: 461px; width: 366px">
5353
<span class="opt is-on">Super admin</span>
5454
<span class="opt">Admin</span>
5555
<span class="opt">Editor</span>

0 commit comments

Comments
 (0)