We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23f3929 commit e77a946Copy full SHA for e77a946
src/material/list/list.scss
@@ -203,6 +203,14 @@ $item-inset-divider-offset: 72px;
203
}
204
205
206
+// We need some extra resets when the list items are buttons.
207
+button.mat-list-item, button.mat-list-option {
208
+ border: none;
209
+ background: none;
210
+ padding: 0;
211
+ width: 100%;
212
+}
213
+
214
// This mixin adjusts the heights and padding based on whether the list is in dense mode.
215
@mixin subheader-spacing($top-padding, $base-height) {
216
height: $base-height;
0 commit comments