Skip to content

Commit 637e914

Browse files
Samuell1marcosmoura
authored andcommitted
fix(MdSelect): prevent overflowing arrow icon (#1373)
* fix(MdField): remove width for input, textarea * fix(MdSelect): prevent overflowing icon in layout with size
1 parent 8bda813 commit 637e914

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/MdField/MdField.vue

-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@
174174
175175
.md-input,
176176
.md-textarea {
177-
width: 100%;
178177
height: $md-input-height;
179178
padding: 0;
180179
display: block;

src/components/MdField/MdSelect/MdSelect.vue

+2
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@
278278
.md-menu.md-select {
279279
display: flex;
280280
flex: 1;
281+
overflow: auto;
281282
282283
&:not(.md-disabled) {
283284
.md-input,
@@ -289,6 +290,7 @@
289290
290291
.md-input {
291292
flex: 1;
293+
min-width: 0;
292294
}
293295
294296
select,

0 commit comments

Comments
 (0)