From bf3aa380fa1a6c0e3f9e42353b955777e035182a Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 3 Jul 2017 18:12:45 +0200 Subject: [PATCH] Improved appearance of long acl lists Closes #2324 --- wcfsetup/install/files/style/ui/acl.scss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/wcfsetup/install/files/style/ui/acl.scss b/wcfsetup/install/files/style/ui/acl.scss index 285aaf1634..ccdeeb5043 100644 --- a/wcfsetup/install/files/style/ui/acl.scss +++ b/wcfsetup/install/files/style/ui/acl.scss @@ -1,5 +1,13 @@ /* object list, e.g. users and groups */ .aclList { + max-height: 400px; + overflow: auto; + + &:not(:empty) { + border-bottom: 1px solid $wcfContentBorder; + border-top: 1px solid $wcfContentBorder; + } + > li { align-items: center; display: flex; @@ -22,6 +30,14 @@ flex: 1 1 auto; margin: 0 5px; } + + &:first-child { + border-top: none; + } + + &:last-child { + border-bottom: none; + } } /* search input */ -- 2.20.1