So UIB decided to support “component modals”. Unfortunately, the way I see it, the components need to be “dirtied” with the modal logic, meaning you will also need to include resolve and close in every component you want to display as a modal. Inside the components constructor or $onInit you then proceed to “resolve the resolve” (i.e. if(resolve){ […]
Tag: simple
Vertically AND Horizontally align div in div
Best way, even works for overflows. HTML: <div class=”body”> <div class=”content”> Bla Bla </div> </div> CSS: .body { display: flex; } .content { margin: auto; } Aaaand it works. Fiddle: https://jsfiddle.net/oqq4Lgo9/