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

Commit

Permalink
remove size property; core-item's icon is now sized via css width/hei…
Browse files Browse the repository at this point in the history
…ght properties
  • Loading branch information
sorvell committed Jul 15, 2014
1 parent 4dcd99e commit fd5f594
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions core-item.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@

<link rel="stylesheet" href="core-item.css" shim-shadowdom>

<polymer-element name="core-item" attributes="label icon src size" horizontal center layout>
<polymer-element name="core-item" attributes="label icon src" horizontal center layout>
<template>

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

</template>
<script>
Expand Down Expand Up @@ -66,14 +66,6 @@
* @default ''
*/

/**
* Specifies the size of the icon in pixel units.
*
* @attribute size
* @type number
* @default 24
*/

});

</script>
Expand Down

0 comments on commit fd5f594

Please sign in to comment.