Skip to content

Commit f3057fa

Browse files
crisbetojosephperrott
authored andcommitted
fix(list): action list items clickable area not stretching the full width (#13099)
1 parent a6c6a58 commit f3057fa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib/list/list.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ $mat-list-item-inset-divider-offset: 72px;
4343
height: $base-height;
4444
-webkit-tap-highlight-color: transparent;
4545

46+
// Override the user agent styling if the list item is a button.
47+
width: 100%;
48+
padding: 0;
49+
4650
.mat-list-item-content {
4751
display: flex;
4852
flex-direction: row;

0 commit comments

Comments
 (0)