npm.io
2.2.5 • Published 3 weeks ago

nmce

Licence
MIT
Version
2.2.5
Deps
2
Size
876 kB
Vulns
0
Weekly
0
Stars
2

NMCE package

Please check Angular Material Components Extensions for details.

Dialog styles for containing large content

After installation, if you want to use some of the dialogs that are designed to contain large contents and you would fully utilize the space of the MatDialog, you should do either of the following:

In angular.json:

"styles": [
  "node_modules/nmce/styles/nmce-dialog.css"
]

Remarks:

Library CSS is always component‑scoped unless explicitly made global. However, mat-dialog-content lives outside library's dialog component’s host element, inside Angular Material’s overlay container. Therefore, the styles related has to be global.