I'm facing a dilemma about my webpage created with Bootstrap 4. Despite numerous adjustments, all the elements on the page are displaying correctly. However, on smaller screens, it seems like there is an unexpected top-margin within the <body>
tag which is impacting some of my elements set with position: absolute
. I've combed through the CSS file but haven't found any code causing this issue. It's the final piece of the puzzle that needs to be fixed.
Take a look at my Fiddle: http://jsfiddle.net/chandannadig/3kjdo9rr/10/
Check out the screenshots for better insight. I've highlighted the <body>
in my Google Chrome Developer Tools with my mouse pointer.
On Large Screens
https://i.sstatic.net/mv2za.png
On Small Screen (iPhone 6S Portrait)