Skip to content

Commit 4575f44

Browse files
Merge pull request #3007 from nextcloud/fix/2971/yp-suffix
Fix multiselect placeholder overlapping selected tag
2 parents 312ba4f + f18fd06 commit 4575f44

File tree

5 files changed

+0
-47
lines changed

5 files changed

+0
-47
lines changed

css/Properties/Properties.scss

-35
Original file line numberDiff line numberDiff line change
@@ -60,24 +60,6 @@ $property-ext-padding-right: 8px;
6060
width: $property-label-min-width;
6161
min-width: $property-label-min-width !important; // override multiselect
6262
max-width: $property-label-max-width;
63-
height: $grid-input-height-with-margin;
64-
margin: $grid-input-margin 5px $grid-input-margin 0 !important; // override multiselect
65-
user-select: none;
66-
text-align: right;
67-
background-size: 16px;
68-
line-height: $grid-input-height-with-margin + 1px;
69-
70-
&,
71-
.multiselect__input {
72-
&::placeholder {
73-
text-align: right;
74-
}
75-
+ .multiselect__single {
76-
overflow: hidden;
77-
white-space: nowrap;
78-
text-overflow: ellipsis;
79-
}
80-
}
8163

8264
&:not(.multiselect) {
8365
overflow: hidden;
@@ -114,23 +96,6 @@ $property-ext-padding-right: 8px;
11496
&__label.multiselect {
11597
.multiselect__tags {
11698
border: none !important; // override multiselect
117-
.multiselect__single {
118-
padding-right: 24px;
119-
background-repeat: no-repeat;
120-
background-position: center right 4px;
121-
}
122-
}
123-
.multiselect__content-wrapper {
124-
right: 0; // align right
125-
width: auto !important; // grow bigger if content is bigger than the original 100%
126-
min-width: $property-label-max-width; // improve readability on narrow screens
127-
}
128-
@media only screen and (max-width: 768px) {
129-
// align left of screen on narrow views
130-
.multiselect__content-wrapper {
131-
right: auto;
132-
left: 0;
133-
}
13499
}
135100
}
136101

src/components/Properties/PropertyGroups.vue

-3
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,8 @@ export default {
205205
width: 60px;
206206
min-width: 60px !important;
207207
max-width: 120px;
208-
height: 34px;
209-
margin: 3px 5px 3px 0 !important;
210208
user-select: none;
211209
text-align: right;
212210
background-size: 16px;
213-
line-height: 35px;
214211
}
215212
</style>

src/components/Properties/PropertyMultipleText.vue

-3
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,9 @@ export default {
139139
width: 60px;
140140
min-width: 60px !important;
141141
max-width: 120px;
142-
height: 34px;
143-
margin: 3px 5px 3px 0 !important;
144142
user-select: none;
145143
text-align: right;
146144
background-size: 16px;
147-
line-height: 35px;
148145
}
149146
.property__label:not(.multiselect) {
150147
overflow: hidden;

src/components/Properties/PropertySelect.vue

-3
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,9 @@ export default {
143143
width: 60px;
144144
min-width: 60px !important;
145145
max-width: 120px;
146-
height: 34px;
147-
margin: 3px 5px 3px 0 !important;
148146
user-select: none;
149147
text-align: right;
150148
background-size: 16px;
151-
line-height: 35px;
152149
}
153150

154151
</style>

src/components/Properties/PropertyText.vue

-3
Original file line numberDiff line numberDiff line change
@@ -221,11 +221,8 @@ export default {
221221
width: 60px;
222222
min-width: 60px !important;
223223
max-width: 120px;
224-
height: 34px;
225-
margin: 3px 5px 3px 0 !important;
226224
user-select: none;
227225
text-align: right;
228226
background-size: 16px;
229-
line-height: 35px;
230227
}
231228
</style>

0 commit comments

Comments
 (0)