Skip to content

Commit

Permalink
fix(MdSelect): prevent overflowing arrow icon (#1373)
Browse files Browse the repository at this point in the history
* fix(MdField): remove width for input, textarea

* fix(MdSelect): prevent overflowing icon in layout with size
  • Loading branch information
Samuell1 authored and marcosmoura committed Jan 5, 2018
1 parent 8bda813 commit 637e914
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/MdField/MdField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@
.md-input,
.md-textarea {
width: 100%;
height: $md-input-height;
padding: 0;
display: block;
Expand Down
2 changes: 2 additions & 0 deletions src/components/MdField/MdSelect/MdSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@
.md-menu.md-select {
display: flex;
flex: 1;
overflow: auto;
&:not(.md-disabled) {
.md-input,
Expand All @@ -289,6 +290,7 @@
.md-input {
flex: 1;
min-width: 0;
}
select,
Expand Down

0 comments on commit 637e914

Please sign in to comment.