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

Commit

Permalink
demo shows how to size the icon inside a menu button
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Jul 15, 2014
1 parent 6cac635 commit 984a913
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@
background-color: #cfa0e9;
overflow: hidden;
}

.small::shadow core-icon-button {
padding: 12px;
}

.small::shadow core-icon-button::shadow core-icon {
display: block;
height: 14px;
width: 14px;
}

</style>
</head>
<body class="core-body-text" unresolved>
Expand All @@ -47,6 +58,14 @@

</core-menu-button>

<core-menu-button icon="menu" class="small">

<core-item icon="settings" label="Settings"></core-item>
<core-item icon="add" label="Add"></core-item>
<core-item icon="search" label="Search"></core-item>

</core-menu-button>

<div core-flex>Toolbar</div>

<core-menu-button icon="add" halign="right">
Expand Down

0 comments on commit 984a913

Please sign in to comment.