summaryrefslogtreecommitdiffstats
path: root/apps/settings/src
diff options
context:
space:
mode:
authorjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-10-13 11:57:03 +0200
committerjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-10-17 09:25:31 +0200
commitba0fadd312c08a65da66c948cfdd4a38d4257694 (patch)
tree1bd7b38960657da56ba1a5efad8a2ae8adb72f3f /apps/settings/src
parentcd6b10f89b6b2059ca6f3ebf3355ce80e3649099 (diff)
downloadnextcloud-server-ba0fadd312c08a65da66c948cfdd4a38d4257694.tar.gz
nextcloud-server-ba0fadd312c08a65da66c948cfdd4a38d4257694.zip
Append to body all selects inside of user table
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Diffstat (limited to 'apps/settings/src')
-rw-r--r--apps/settings/src/components/Users/UserRow.vue8
-rw-r--r--apps/settings/src/components/Users/VirtualList.vue3
-rw-r--r--apps/settings/src/components/Users/shared/styles.scss4
3 files changed, 11 insertions, 4 deletions
diff --git a/apps/settings/src/components/Users/UserRow.vue b/apps/settings/src/components/Users/UserRow.vue
index ead4eca1552..9a7acc54505 100644
--- a/apps/settings/src/components/Users/UserRow.vue
+++ b/apps/settings/src/components/Users/UserRow.vue
@@ -123,6 +123,7 @@
:disabled="isLoadingField"
:loading="loading.groups"
:multiple="true"
+ :append-to-body="false"
:options="availableGroups"
:placeholder="t('settings', 'Add user to group')"
:taggable="settings.isAdmin"
@@ -152,6 +153,7 @@
:disabled="isLoadingField"
:loading="loading.subadmins"
label="name"
+ :append-to-body="false"
:multiple="true"
:no-wrap="true"
:options="subAdminsGroups"
@@ -177,6 +179,7 @@
:create-option="validateQuota"
:disabled="isLoadingField"
:loading="loading.quota"
+ :append-to-body="false"
:clearable="false"
:input-id="'quota' + uniqueId"
:options="quotaOptions"
@@ -208,6 +211,7 @@
:disabled="isLoadingField"
:loading="loading.languages"
:clearable="false"
+ :append-to-body="false"
:options="availableLanguages"
:placeholder="t('settings', 'No language set')"
:value="userLanguage"
@@ -249,6 +253,7 @@
:input-id="'manager' + uniqueId"
:close-on-select="true"
:disabled="isLoadingField"
+ :append-to-body="false"
:loading="loadingPossibleManagers || loading.manager"
label="displayname"
:options="possibleManagers"
@@ -900,7 +905,6 @@ export default {
.user-list__row {
@include row;
- border-bottom: 1px solid var(--color-border);
&:hover {
background-color: var(--color-background-hover);
@@ -920,6 +924,8 @@ export default {
@include cell;
&__cell {
+ border-bottom: 1px solid var(--color-border);
+
:deep {
.input-field,
.input-field__main-wrapper,
diff --git a/apps/settings/src/components/Users/VirtualList.vue b/apps/settings/src/components/Users/VirtualList.vue
index e642882f23d..a90f778b48e 100644
--- a/apps/settings/src/components/Users/VirtualList.vue
+++ b/apps/settings/src/components/Users/VirtualList.vue
@@ -168,6 +168,7 @@ export default Vue.extend({
--cell-width: 200px;
--cell-width-large: 300px;
--cell-min-width: calc(var(--cell-width) - (2 * var(--cell-padding)));
+ --sticky-column-z-index: calc(var(--vs-dropdown-z-index) + 1); // Keep the sticky column on top of the select dropdown
// Necessary for virtual scroll optimized rendering
display: block;
@@ -183,7 +184,7 @@ export default Vue.extend({
&__header {
top: 0;
- z-index: 20;
+ z-index: calc(var(--sticky-column-z-index) + 1);
}
&__footer {
diff --git a/apps/settings/src/components/Users/shared/styles.scss b/apps/settings/src/components/Users/shared/styles.scss
index 402a6a99fc2..a2ddcd8c8be 100644
--- a/apps/settings/src/components/Users/shared/styles.scss
+++ b/apps/settings/src/components/Users/shared/styles.scss
@@ -52,7 +52,7 @@
&--avatar,
&--displayname {
position: sticky;
- z-index: 10;
+ z-index: var(--sticky-column-z-index);
background-color: var(--color-main-background);
}
@@ -106,7 +106,7 @@
&--actions {
position: sticky;
right: 0;
- z-index: 10;
+ z-index: var(--sticky-column-z-index);
display: flex;
flex-direction: row;
align-items: center;