Get rid of white space around Angular Material modal dialog
import {ViewEncapsulation} from '@angular/core';
@Component({
.....,
encapsulation: ViewEncapsulation.None
})
.mat-dialog-container {
padding: 0px !important;
}
.custom-dialog-container .mat-dialog-container {
/* add your styles */
}
this.dialog.open(MyDialogComponent, { panelClass: 'custom-dialog-container' })
Also in JavaScript:
- How to send form data from react to express
- get screen resolution jquery
- timestamp to date javascript
- canvas cut path to image
- jquery add
- how to make a inventory in js
- javascript jquery get form field value
- moment for react
- boucle for javascript
- ajax.complete(handler) example jquery
- javascript create class
- can I pass function as prop on route change
- js eventlistener to add and remove stylings
- converst strig in number in js
- adding a terminal iframe
- jquery last character in string
- js replace quotes
- javascript compare maps
- refresh after delete in express
- interceptor in angular 8
- next js newsletter
- how to end if statement roblox
- javascript delete key from object
- check if time is greater than javascript