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

Commit 3ffe1fe

Browse files
author
Yvonne Yip
committed
add a div around the label so we can do text-overflow: ellipsis
1 parent e833fde commit 3ffe1fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core-item.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@
3535
<polymer-element name="core-item" attributes="label icon src" horizontal center layout>
3636
<template>
3737

38-
<core-icon src="{{src}}" icon="{{icon}}" hidden?="{{!src && !icon}}"></core-icon>{{label}}<content></content>
38+
<core-icon src="{{src}}" icon="{{icon}}" hidden?="{{!src && !icon}}"></core-icon>
39+
<div id="label">{{label}}</div>
40+
<content></content>
3941

4042
</template>
4143
<script>

0 commit comments

Comments
 (0)