selList overflow (#13179)

* Limit `membersModal` list selector to 12-unit grid (to prevent wrap around on long text for `sortOptions`)
* Add ellipse based overflow for `membersModal` list selector
* Add padding so that the checkmark for `membersModal` list doesn't overlap with text
* Use scss with v-deep properly (also pretty checkmark to "full-width" of checkmark)
This commit is contained in:
Helcostr
2021-04-28 14:07:07 -07:00
committed by GitHub
parent 0bd737469a
commit 056f4926f5
2 changed files with 25 additions and 16 deletions

View File

@@ -42,7 +42,7 @@
:placeholder="$t('search')"
>
</div>
<div class="col">
<div class="col-5">
<select-list
:items="sortOptions"
:value="optionEntryBySelectedValue"

View File

@@ -53,8 +53,16 @@
<style lang="scss" scoped>
@import '~@/assets/scss/colors.scss';
.select-list ::v-deep .selectListItem {
.select-list ::v-deep {
.dropdown-toggle {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.selectListItem {
position: relative;
padding-right: 1.625rem;
&:not(.showIcon) {
.svg-icon.check-icon {
@@ -72,6 +80,7 @@
color: $purple-300;
}
}
}
</style>
<script>