Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 15424ba

Browse files
fix(demo): bottomSheet grid icon buttons are clipped
Fixes #8018.
1 parent c48df16 commit 15424ba

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/components/bottomSheet/demoBasicUsage/bottom-sheet-grid-template.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ <h4>Since <code>clickOutsideToClose = false</code>, drag down or press ESC to cl
55
<div>
66
<md-list flex layout="row" layout-align="center center">
77
<md-list-item ng-repeat="item in items">
8-
8+
<div>
99
<md-button class="md-grid-item-content" ng-click="listItemClick($index)">
1010
<md-icon md-svg-src="{{item.icon}}"></md-icon>
1111
<div class="md-grid-text"> {{ item.name }} </div>
1212
</md-button>
13-
13+
</div>
1414
</md-list-item>
1515
</md-list>
1616
</div>

src/components/bottomSheet/demoBasicUsage/style.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
}
1010

1111
.md-grid-item-content {
12-
height:96px;
12+
height:90px;
13+
padding-top:10px;
1314
}
1415
.md-grid-item-content md-icon {
1516
height: 48px;

0 commit comments

Comments
 (0)