Skip to content

Commit

Permalink
Merge pull request #598 from PolymerElements/unbreak-my-previous-pr-s…
Browse files Browse the repository at this point in the history
…ay-you-wont-break-me-again

Fix overflow:hidden bug I introduced in the previous PR
  • Loading branch information
notwaldorf committed Dec 6, 2017
2 parents d75d337 + 34dd786 commit 5fda028
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
3 changes: 1 addition & 2 deletions paper-input-char-counter.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@
display: none !important;
}

:host(:dir(rtl)),
:host-context([dir="rtl"]) {
:host(:dir(rtl)) {
float: left;
}
</style>
Expand Down
8 changes: 3 additions & 5 deletions paper-input-container.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@
:host {
display: block;
padding: 8px 0;
overflow: hidden;

--paper-input-container-shared-input-style: {
position: relative; /* to make a stacking context */
Expand Down Expand Up @@ -230,7 +229,6 @@
.input-content ::slotted(.paper-input-label) {
position: absolute;
top: 0;
right: 0;
left: 0;
width: 100%;
font: inherit;
Expand Down Expand Up @@ -261,9 +259,9 @@
}

:host(:dir(rtl)) .input-content.label-is-floating ::slotted(label),
:host(:dir(rtl)) .input-content.label-is-floating ::slotted(.paper-input-label),
:host-context([dir="rtl"]) .input-content.label-is-floating ::slotted(label),
:host-context([dir="rtl"]) .input-content.label-is-floating ::slotted(.paper-input-label) {
:host(:dir(rtl)) .input-content.label-is-floating ::slotted(.paper-input-label) {
right: 0;
left: auto;
-webkit-transform-origin: right top;
transform-origin: right top;
}
Expand Down
1 change: 1 addition & 0 deletions paper-input.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
style this element.
The following custom properties and mixins are available for styling:
Custom property | Description | Default
----------------|-------------|----------
`--paper-input-container-ms-clear` | Mixin applied to the Internet Explorer reveal button (the eyeball) | {}
Expand Down

0 comments on commit 5fda028

Please sign in to comment.