Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit b2f5296

Browse files
Googlernshahan
authored andcommitted
Override default min-width setting of the header flex item of expansion panel to allow the flex item to be smaller than its content so that it does not extend beyond the max-width of its container.
PiperOrigin-RevId: 202707306
1 parent df1ab66 commit b2f5296

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/material_expansionpanel/material_expansionpanel.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ header {
7979
@include mat-type-subhead;
8080
cursor: pointer;
8181
min-height: $mat-grid * 6;
82+
min-width: 0;
8283
outline: none;
8384
padding: 0 $mat-grid * 3;
8485
transition: min-height $mat-transition-slow $mat-transition-standard;

0 commit comments

Comments
 (0)