Closed Todai88 closed 7 years ago
Hi @Todai88,
I think it is a CSS problem, not related to the directive. It appears when the directive loads the content to an height greater than the height of the body.
Looking at your CSS, it seems that you have a height: 100%;
in your body
, inherited from angular-material.min.css
.
Removing that, you can see the full background.
Good morning,
I've been fiddling with this package to implement a pdf-viewer in a little kiosk application I'm developing.
However as it stands right now the pdf, when scaled to
fit
pushes the height of the containing module way out of bounds, which seems to make the default background-color ofmd-content
to spill into the body's background.You can find an example here on our website.
The code .html code for the module:
index.html (the entry point):
And finally my CSS:
I'd be extremely grateful if someone could give me some help here as I'm not really sure what this boils down to.