Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #14 from PolymerElements/split-size-prop
Browse files Browse the repository at this point in the history
not all icons are square
  • Loading branch information
notwaldorf committed May 22, 2015
2 parents 5fe1493 + b88826f commit d31c379
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "iron-icon",
"private": true,
"version": "0.9.1",
"version": "0.9.2",
"description": "An element that supports displaying an icon",
"main": "iron-icon.html",
"author": [
Expand Down
9 changes: 5 additions & 4 deletions iron-icon.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@
-->

<style is="custom-style">
* {
--iron-icon-size: 24px;
:root {
--iron-icon-width: 24px;
--iron-icon-height: 24px;
}
</style>

Expand All @@ -81,8 +82,8 @@

fill: currentcolor;

width: var(--iron-icon-size);
height: var(--iron-icon-size);
width: var(--iron-icon-width);
height: var(--iron-icon-height);
}
</style>

Expand Down

0 comments on commit d31c379

Please sign in to comment.