Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
fix long item content
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Nov 12, 2014
1 parent 9175c61 commit 14a2aa9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,11 @@

<div>Default</div>

<paper-shadow>
<paper-shadow style="max-width: 10.5em;">
<paper-item>Item</paper-item>
<paper-item disabled>Disabled</paper-item>
<paper-item noink><a href="http://www.polymer-project.org" layout horizontal center>Link</a></paper-item>
<paper-item>Long items wrap by default</paper-item>
</paper-shadow>

</section>
Expand Down
3 changes: 1 addition & 2 deletions paper-item.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
font-size: 16px;
box-sizing: border-box;
min-width: 7em;
height: 3em;
outline: none;
-moz-user-select: none;
-ms-user-select: none;
Expand All @@ -84,7 +83,7 @@

.button-content {
height: 100%;
padding: 0 16px;
padding: 0.9em 1em;
}

polyfill-next-selector { content: ':host > a'; }
Expand Down

0 comments on commit 14a2aa9

Please sign in to comment.