Skip to content

Commit b4d1bd5

Browse files
committed
Fix sizing and alignment issues in IconButtonSample
1 parent 4acf0c4 commit b4d1bd5

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

demo/src/main/java/com/vaadin/polymer/demo/client/sampler/paper/IconButtonSample.ui.xml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,20 +54,11 @@
5454
}
5555

5656
.icon-button-sample paper-icon-button.huge {
57-
margin-left: 0px;
58-
width: 50px;
57+
margin: 0 auto;
58+
width: 70px;
59+
height: 70px;
5960
--paper-icon-button-ink-color: var(--paper-indigo-500);
6061
}
61-
62-
.icon-button-sample paper-icon-button.huge::shadow #icon {
63-
width: 50px;
64-
height: 50px;
65-
}
66-
67-
.icon-button-sample paper-icon-button.huge #icon {
68-
width: 50px;
69-
height: 50px;
70-
}
7162
</style>
7263
<div class="horizontal-section-container center-justified layout">
7364
<div>

0 commit comments

Comments
 (0)