diff --git a/static/style.css b/static/style.css index 108e4fc..b3a9b03 100644 --- a/static/style.css +++ b/static/style.css @@ -743,6 +743,10 @@ td.break { word-break: break-all; font-size: 0.8rem; } code { background: var(--surface-raised); padding: 0.1rem var(--space-1); border-radius: var(--radius); font-size: 0.85rem; } +/* The link is long and the button must stay reachable next to it on a narrow admin window. */ +.invitecell { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; } +.invitecell code { word-break: break-all; } + /* --- toasts --- */ .toasts { position: fixed; right: var(--space-4); bottom: var(--space-4); z-index: 1000; diff --git a/templates/admin.html b/templates/admin.html index 47da7ec..d7eee55 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -13,8 +13,11 @@ {{range .Data.Invites}} - - {{.Link}} + + + {{.Link}} + käyttämätön {{fidate .CreatedAt}} @@ -87,4 +90,29 @@ + {{end}} diff --git a/templates/layout.html b/templates/layout.html index 4d3220f..9a21ebf 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -62,7 +62,7 @@