From: Alexander Ebert Date: Mon, 30 Dec 2024 12:40:06 +0000 (+0100) Subject: Fix the visuals of the box for users awaiting approval X-Git-Tag: 6.1.3_dev_2~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b677e7c208fde56af7a815ac2b8da78e3d1dd0e0;p=GitHub%2FWoltLab%2FWCF.git Fix the visuals of the box for users awaiting approval Fixes #6141 --- diff --git a/wcfsetup/install/files/acp/style/layout.scss b/wcfsetup/install/files/acp/style/layout.scss index 271489b8bb..c00154d51b 100644 --- a/wcfsetup/install/files/acp/style/layout.scss +++ b/wcfsetup/install/files/acp/style/layout.scss @@ -1040,3 +1040,35 @@ html[data-color-scheme="dark"] { margin-top: 20px; text-align: center; } + +.acpDashboardBox__usersAwaitingApproval { + display: flex; + flex-direction: column; + row-gap: 10px; +} + +.acpDashboardBox__usersAwaitingApproval__user { + position: relative; +} + +.acpDashboardBox__usersAwaitingApproval__avatar { + align-content: center; +} + +.acpDashboardBox__usersAwaitingApproval__content { + display: flex; + flex-direction: column; +} + +.acpDashboardBox__usersAwaitingApproval__link::after { + content: ""; + inset: 0; + position: absolute; +} + +.acpDashboardBox__usersAwaitingApproval__meta { + color: var(--wcfContentDimmedText); + margin-top: -5px; + + @include wcfFontSmall; +} diff --git a/wcfsetup/install/files/acp/templates/usersAwaitingApprovalAcpDashboardBox.tpl b/wcfsetup/install/files/acp/templates/usersAwaitingApprovalAcpDashboardBox.tpl index a2e51c4484..76e1ceea37 100644 --- a/wcfsetup/install/files/acp/templates/usersAwaitingApprovalAcpDashboardBox.tpl +++ b/wcfsetup/install/files/acp/templates/usersAwaitingApprovalAcpDashboardBox.tpl @@ -1,14 +1,29 @@ -