Skip to content

Commit e41fd2b

Browse files
committed
Merge pull request #303 from robrez/master
Fix sizing issues
2 parents ed5d7e0 + f5e467b commit e41fd2b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

paper-input-container.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@
174174
.label-and-input-container {
175175
@apply(--layout-flex-auto);
176176
@apply(--layout-relative);
177+
width: 100%;
178+
max-width: 100%;
177179
}
178180

179181
.input-content {
@@ -251,6 +253,7 @@
251253
box-shadow: none;
252254
padding: 0;
253255
width: 100%;
256+
max-width: 100%;
254257
background: transparent;
255258
border: none;
256259
color: var(--paper-input-container-input-color, --primary-text-color);
@@ -264,11 +267,13 @@
264267
::content [prefix] {
265268
@apply(--paper-font-subhead);
266269
@apply(--paper-input-prefix);
270+
@apply(--layout-flex-none);
267271
}
268272

269273
::content [suffix] {
270274
@apply(--paper-font-subhead);
271275
@apply(--paper-input-suffix);
276+
@apply(--layout-flex-none);
272277
}
273278

274279
/* Firefox sets a min-width on the input, which can cause layout issues */

0 commit comments

Comments
 (0)