Merge pull request #15433 from nextcloud/backport/15301/stable16

[stable16] Fix multiselect min width
This commit is contained in:
Morris Jobke 2019-05-08 10:04:29 +02:00 committed by GitHub
commit 2bb636d536
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 5 deletions

View File

@ -1336,6 +1336,7 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
/* USERS LIST -------------------------------------------------------------- */
#body-settings {
$grid-row-height: 46px;
$grid-col-min-width: 120px;
#app-content.user-list-grid {
display: grid;
grid-auto-columns: 1fr;
@ -1351,7 +1352,7 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
align-items: center;
/* let's define the column until storage path,
what follows will be manually defined */
grid-template-columns: 44px minmax(150px, 1fr) repeat(auto-fit, minmax(120px, 1fr));
grid-template-columns: 44px minmax($grid-col-min-width + 30px, 1fr) repeat(auto-fit, minmax($grid-col-min-width, 1fr));
border-bottom: var(--color-border) 1px solid;
&.disabled {
opacity: .5;
@ -1362,14 +1363,18 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
.displayName,
.password,
.mailAddress,
.groups,
.subadmins,
.quota,
.languages,
.storageLocation,
.userBackend,
.lastLogin {
min-width: 120px;
min-width: $grid-col-min-width;
}
.groups,
.subadmins,
.quota {
.multiselect {
min-width: $grid-col-min-width;
}
}
.obfuscated {
width: 400px;