Permalink
Browse files

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
  • Loading branch information...
1 parent 7c6b823 commit 87aa4cf085a52e8ce17be2171be0f94325fe70a9 @bradrich bradrich committed with ThomasBurleson Jun 30, 2016
View
@@ -5,3 +5,4 @@ dist
/.idea/
.nvmrc
tmp/
+.editorconfig
@@ -115,7 +115,7 @@ md-bottom-sheet {
}
}
}
-
+
@media (max-width: $layout-breakpoint-sm) {
@include grid-items-per-row(3, true);
}
@@ -132,7 +132,10 @@ md-bottom-sheet {
@include grid-items-per-row(7);
}
-
+ // Override of the IE11 fix from @mixin ie11-min-height-flexbug, line 109 mixins.scss
+ &::before {
+ display: none;
+ }
.md-list-item-content {
display: flex;
@@ -6,10 +6,10 @@
<md-list flex layout="row" layout-align="center center">
<md-list-item ng-repeat="item in items">
<div>
- <md-button class="md-grid-item-content" ng-click="listItemClick($index)">
- <md-icon md-svg-src="{{item.icon}}"></md-icon>
- <div class="md-grid-text"> {{ item.name }} </div>
- </md-button>
+ <md-button class="md-grid-item-content" ng-click="listItemClick($index)">
+ <md-icon md-svg-src="{{item.icon}}"></md-icon>
+ <div class="md-grid-text"> {{ item.name }} </div>
+ </md-button>
</div>
</md-list-item>
</md-list>

0 comments on commit 87aa4cf

Please sign in to comment.