Skip to content

Commit

Permalink
fixed some small bugs and converted more of demo
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalerba committed Dec 1, 2016
1 parent b4c0897 commit ac7c8cd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
12 changes: 10 additions & 2 deletions src/demo-app/input/input-wrapper-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,16 @@
</md-input-wrapper>

<table style="width: 100%" cellspacing="0"><tr>
<td><md-input placeholder="First name" style="width: 100%"></md-input></td>
<td><md-input placeholder="Long Last Name That Will Be Truncated" style="width: 100%"></md-input></td>
<td>
<md-input-wrapper style="width: 100%">
<input placeholder="First name">
</md-input-wrapper>
</td>
<td>
<md-input-wrapper style="width: 100%">
<input placeholder="Long Last Name That Will Be Truncated">
</md-input-wrapper>
</td>
</tr></table>
<p>
<md-textarea class="demo-full-width" placeholder="Address" value="1600 Amphitheatre Pkway"></md-textarea>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/input/input-wrapper.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</div>

<div class="md-input-underline"
[class.md-disabled]="_disabled">
[class.md-disabled]="_inputDisabled">
<span class="md-input-ripple"
[class.md-focused]="_focused"
[class.md-accent]="dividerColor == 'accent'"
Expand Down
2 changes: 1 addition & 1 deletion src/lib/input/input-wrapper.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ md-input-wrapper {
}

.md-input-element {
::placeholder {
&::placeholder {
visibility: hidden;
}

Expand Down

0 comments on commit ac7c8cd

Please sign in to comment.