Skip to content

Commit 73ee57b

Browse files
Remove DropdownWrapper from UserStorage to fix layout and poor visual problems in the popup
1 parent 40dbf36 commit 73ee57b

1 file changed

Lines changed: 11 additions & 19 deletions

File tree

  • contentcuration/contentcuration/frontend/administration/pages/Users

contentcuration/contentcuration/frontend/administration/pages/Users/UserStorage.vue

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,17 @@
2323
:rules="spaceRules"
2424
/>
2525
</VFlex>
26-
<DropdownWrapper
27-
component="VFlex"
28-
style="max-width: 75px"
29-
>
30-
<template #default="{ attach, menuProps }">
31-
<VSelect
32-
v-model="unit"
33-
:items="unitOptions"
34-
:attach="attach"
35-
:menuProps="menuProps"
36-
box
37-
single-line
38-
required
39-
:rules="unitRules"
40-
/>
41-
</template>
42-
</DropdownWrapper>
26+
<VFlex style="min-width: 75px; max-width: 112px">
27+
<VSelect
28+
v-model="unit"
29+
:items="unitOptions"
30+
:menu-props="{ offsetY: true }"
31+
box
32+
single-line
33+
required
34+
:rules="unitRules"
35+
/>
36+
</VFlex>
4337
</VLayout>
4438
<KButtonGroup>
4539
<KButton
@@ -66,7 +60,6 @@
6660
import { mapActions } from 'vuex';
6761
import findLastKey from 'lodash/findLastKey';
6862
import { ONE_B, ONE_KB, ONE_MB, ONE_GB, ONE_TB } from 'shared/constants';
69-
import DropdownWrapper from 'shared/views/form/DropdownWrapper';
7063
7164
const units = {
7265
ONE_B,
@@ -78,7 +71,6 @@
7871
7972
export default {
8073
name: 'UserStorage',
81-
components: { DropdownWrapper },
8274
props: {
8375
value: {
8476
type: Number,

0 commit comments

Comments
 (0)