Skip to content

Commit

Permalink
feat(text-field): add support for text-align: end
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 458490357
  • Loading branch information
asyncLiz authored and copybara-github committed Jul 1, 2022
1 parent c323641 commit bf3cb81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions field/lib/_filled-field.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ $_animation-duration: 150ms;
@mixin active-indicator() {
// Prevent click events on the indicator element since it has no width and
// causes bugs when handled by the foundation for updating transform-origin.
bottom: 0;
inset: auto 0 0 0;
pointer-events: none;
position: absolute;
width: 100%;

&::before,
&::after {
border-bottom-style: solid;
bottom: 0;
inset: auto 0 0 0;
content: '';
position: absolute;
width: 100%;
Expand Down
1 change: 1 addition & 0 deletions text_field/lib/_input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
color: currentColor;
outline: none;
padding: 0;
text-align: inherit;
width: 100%;

// Remove built-in datepicker icon on Chrome
Expand Down

0 comments on commit bf3cb81

Please sign in to comment.