diff --git a/apps/settings/src/components/UserList.vue b/apps/settings/src/components/UserList.vue index b208a95d0c5..5d3993f040a 100644 --- a/apps/settings/src/components/UserList.vue +++ b/apps/settings/src/components/UserList.vue @@ -41,51 +41,44 @@ - + + - - - + + diff --git a/apps/settings/src/components/Users/shared/styles.scss b/apps/settings/src/components/Users/shared/styles.scss index 12525347738..402a6a99fc2 100644 --- a/apps/settings/src/components/Users/shared/styles.scss +++ b/apps/settings/src/components/Users/shared/styles.scss @@ -21,8 +21,10 @@ */ @mixin row { - position: absolute; + position: relative; display: flex; + min-width: 100%; + width: fit-content; height: var(--row-height); background-color: var(--color-main-background); } @@ -33,6 +35,7 @@ flex-direction: column; justify-content: center; padding: 0 var(--cell-padding); + min-width: var(--cell-width); width: var(--cell-width); color: var(--color-main-text); @@ -64,6 +67,7 @@ } &--avatar { + min-width: var(--avatar-cell-width); width: var(--avatar-cell-width); align-items: center; padding: 0; @@ -84,13 +88,21 @@ } &--large { - width: 300px; + min-width: var(--cell-width-large); + width: var(--cell-width-large); } &--obfuscated { + min-width: 400px; width: 400px; } + // Fill remaining row space with cell + &--fill { + min-width: var(--cell-width-large); + width: 100%; + } + &--actions { position: sticky; right: 0; @@ -98,6 +110,7 @@ display: flex; flex-direction: row; align-items: center; + min-width: 110px; width: 110px; background-color: var(--color-main-background); border-left: 1px solid var(--color-border); diff --git a/package-lock.json b/package-lock.json index 458ef3c0235..af1e8d7f30f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -84,7 +84,6 @@ "vue-multiselect": "^2.1.6", "vue-observe-visibility": "^1.0.0", "vue-router": "^3.6.5", - "vue-virtual-scroller": "^1.1.2", "vuedraggable": "^2.24.3", "vuex": "^3.6.2", "vuex-router-sync": "^5.0.0", @@ -21787,11 +21786,6 @@ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", "dev": true }, - "node_modules/scrollparent": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/scrollparent/-/scrollparent-2.1.0.tgz", - "integrity": "sha512-bnnvJL28/Rtz/kz2+4wpBjHzWoEzXhVg/TE8BeVGJHUqE8THNIRnDxDWMktwM+qahvlRdvlLdsQfYe+cuqfZeA==" - }, "node_modules/select": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/select/-/select-1.1.2.tgz", @@ -25231,32 +25225,6 @@ "integrity": "sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==", "dev": true }, - "node_modules/vue-virtual-scroller": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vue-virtual-scroller/-/vue-virtual-scroller-1.1.2.tgz", - "integrity": "sha512-SkUyc7QHCJFB5h1Fya7LxVizlVzOZZuFVipBGHYoTK8dwLs08bIz/tclvRApYhksaJIm/nn51inzO2UjpGJPMQ==", - "dependencies": { - "scrollparent": "^2.0.1", - "vue-observe-visibility": "^0.4.4", - "vue-resize": "^0.4.5" - }, - "peerDependencies": { - "vue": "^2.6.11" - } - }, - "node_modules/vue-virtual-scroller/node_modules/vue-observe-visibility": { - "version": "0.4.6", - "resolved": "https://registry.npmjs.org/vue-observe-visibility/-/vue-observe-visibility-0.4.6.tgz", - "integrity": "sha512-xo0CEVdkjSjhJoDdLSvoZoQrw/H2BlzB5jrCBKGZNXN2zdZgMuZ9BKrxXDjNP2AxlcCoKc8OahI3F3r3JGLv2Q==" - }, - "node_modules/vue-virtual-scroller/node_modules/vue-resize": { - "version": "0.4.5", - "resolved": "https://registry.npmjs.org/vue-resize/-/vue-resize-0.4.5.tgz", - "integrity": "sha512-bhP7MlgJQ8TIkZJXAfDf78uJO+mEI3CaLABLjv0WNzr4CcGRGPIAItyWYnP6LsPA4Oq0WE+suidNs6dgpO4RHg==", - "peerDependencies": { - "vue": "^2.3.0" - } - }, "node_modules/vue2-datepicker": { "version": "3.11.1", "resolved": "https://registry.npmjs.org/vue2-datepicker/-/vue2-datepicker-3.11.1.tgz", diff --git a/package.json b/package.json index 0e668b676b0..8193028e35b 100644 --- a/package.json +++ b/package.json @@ -111,7 +111,6 @@ "vue-multiselect": "^2.1.6", "vue-observe-visibility": "^1.0.0", "vue-router": "^3.6.5", - "vue-virtual-scroller": "^1.1.2", "vuedraggable": "^2.24.3", "vuex": "^3.6.2", "vuex-router-sync": "^5.0.0",