Skip to content

Commit 5fda028

Browse files
authored
Merge pull request #598 from PolymerElements/unbreak-my-previous-pr-say-you-wont-break-me-again
Fix overflow:hidden bug I introduced in the previous PR
2 parents d75d337 + 34dd786 commit 5fda028

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

Diff for: paper-input-char-counter.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@
4545
display: none !important;
4646
}
4747

48-
:host(:dir(rtl)),
49-
:host-context([dir="rtl"]) {
48+
:host(:dir(rtl)) {
5049
float: left;
5150
}
5251
</style>

Diff for: paper-input-container.html

+3-5
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@
121121
:host {
122122
display: block;
123123
padding: 8px 0;
124-
overflow: hidden;
125124

126125
--paper-input-container-shared-input-style: {
127126
position: relative; /* to make a stacking context */
@@ -230,7 +229,6 @@
230229
.input-content ::slotted(.paper-input-label) {
231230
position: absolute;
232231
top: 0;
233-
right: 0;
234232
left: 0;
235233
width: 100%;
236234
font: inherit;
@@ -261,9 +259,9 @@
261259
}
262260

263261
:host(:dir(rtl)) .input-content.label-is-floating ::slotted(label),
264-
:host(:dir(rtl)) .input-content.label-is-floating ::slotted(.paper-input-label),
265-
:host-context([dir="rtl"]) .input-content.label-is-floating ::slotted(label),
266-
:host-context([dir="rtl"]) .input-content.label-is-floating ::slotted(.paper-input-label) {
262+
:host(:dir(rtl)) .input-content.label-is-floating ::slotted(.paper-input-label) {
263+
right: 0;
264+
left: auto;
267265
-webkit-transform-origin: right top;
268266
transform-origin: right top;
269267
}

Diff for: paper-input.html

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
style this element.
6262
6363
The following custom properties and mixins are available for styling:
64+
6465
Custom property | Description | Default
6566
----------------|-------------|----------
6667
`--paper-input-container-ms-clear` | Mixin applied to the Internet Explorer reveal button (the eyeball) | {}

0 commit comments

Comments
 (0)