Here is how my HTML elements are nested:
body {
app-root {
app-block-page {
app-block-content {
div.wrapper {
*content*
}
}
}
}
}
body
has width:100%
and height:100%
app-block-page
has width:100%
, height:100%
, background-color: red
and display:block
app-block-content
has padding:100px 0
, display:flex
, justify-content:center
and align-items:center
div.wrapper
has width:80%
Result
https://i.sstatic.net/nRyg5.png
Question
Is there a way to prevent the background color from scrolling?
I want only the form to be scrollable.