From: Marcel Werk Date: Mon, 3 Jul 2017 16:12:45 +0000 (+0200) Subject: Improved appearance of long acl lists X-Git-Tag: 3.1.0_Alpha_1~304 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bf3aa380fa1a6c0e3f9e42353b955777e035182a;p=GitHub%2FWoltLab%2FWCF.git Improved appearance of long acl lists Closes #2324 --- 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 */