Skip to content

Commit 5fdd74b

Browse files
author
Sam Severance
committed
fix(mat-line): fix layout bug (#19809)
* use `flex: auto` instead of `width: 100%` to allow `.mat-list-text` element to take up the available space
1 parent 1106cb1 commit 5fdd74b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/core/style/_list-common.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
display: flex;
3939
flex-direction: column;
40-
width: 100%;
40+
flex: auto;
4141
box-sizing: border-box;
4242
overflow: hidden;
4343

0 commit comments

Comments
 (0)