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

Commit 87aa4cf

Browse files
bradrichThomasBurleson
authored andcommitted
fix(bottomsheet): gridlist has spacing issue within a list item.
* Added .editorconfig to gitignore file. * Ignored the pseudo before element within a bottom sheet grid list item. Closes #8914
1 parent 7c6b823 commit 87aa4cf

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ dist
55
/.idea/
66
.nvmrc
77
tmp/
8+
.editorconfig

src/components/bottomSheet/bottom-sheet.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ md-bottom-sheet {
115115
}
116116
}
117117
}
118-
118+
119119
@media (max-width: $layout-breakpoint-sm) {
120120
@include grid-items-per-row(3, true);
121121
}
@@ -132,7 +132,10 @@ md-bottom-sheet {
132132
@include grid-items-per-row(7);
133133
}
134134

135-
135+
// Override of the IE11 fix from @mixin ie11-min-height-flexbug, line 109 mixins.scss
136+
&::before {
137+
display: none;
138+
}
136139

137140
.md-list-item-content {
138141
display: flex;

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

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

0 commit comments

Comments
 (0)