Skip to content
Advertisement

Increasing the Width of the MatBottomSheet?

The following CSS increases the height but not the width:

JavaScript

Anyone know how to increase the MatBottomSheet width? Stackblitz new window demo.

Note that the demo has to run in a new window (Open in New Window) in order to see that the MatBottomSheet is not full view.

Advertisement

Answer

this is because you have mat-bottom-sheet-container-large applied to the same element which is having css

JavaScript

remove this class or add !important property to min-width in your mat-bottom-sheet-container class

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement