I have been working with Bootstrap 4 and have implemented a navbar, among other things.
While learning about media queries, I came across a CSS rule that allows me to adjust the font size slightly throughout my page...
html {
font-size: 0.9rem;
}
However, after applying this rule, I noticed a strange 1px border/gap appearing on the right-hand side of the entire page.
In this animated .gif, you can see the difference between the normal size with font-size: 1rem;
(no border) and the appearance of the border when using font-size: 0.9rem;
.
https://i.sstatic.net/uGJUl.gif
This border does not show up immediately upon loading the page; rather, I need to scroll to the right to expose it. Once visible, it remains present.
Is this behavior typical? Are there any potential solutions?
Update:
I realize now that providing some code would be helpful - https://jsfiddle.net/iamrobertandrews/aq9Laaew/266266/