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

Commit

Permalink
add a div around the label so we can do text-overflow: ellipsis
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Aug 5, 2014
1 parent e833fde commit 3ffe1fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core-item.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
<polymer-element name="core-item" attributes="label icon src" horizontal center layout>
<template>

<core-icon src="{{src}}" icon="{{icon}}" hidden?="{{!src && !icon}}"></core-icon>{{label}}<content></content>
<core-icon src="{{src}}" icon="{{icon}}" hidden?="{{!src && !icon}}"></core-icon>
<div id="label">{{label}}</div>
<content></content>

</template>
<script>
Expand Down

0 comments on commit 3ffe1fe

Please sign in to comment.