Skip to content

Commit

Permalink
Add ellipsis to input when overflows
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyFeliz committed Jan 12, 2020
1 parent 7fd4148 commit d6bdef7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/EmailDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
:value="email"
:class="inputClasses"
@focus="handleEmailInputFocus"
@blur="handleEmailInputBlur"
@input="handleInputEvent"
@keyup.up="handleListNavigation('up')"
@keyup.down="handleListNavigation('down')"
Expand Down Expand Up @@ -245,6 +244,10 @@ export default {
justify-content: center;
align-content: center;
input {
text-overflow: ellipsis;
}
.email-dropdown-list-container {
position: relative;
height: 0;
Expand Down

0 comments on commit d6bdef7

Please sign in to comment.