I have an app https://bootstrapp3.herokuapp.com/ the background image changes size when I add text. After using the inspect element function on the browser it seems that it is the font-size property that is affecting the background-size property, since when I uncheck the box related to font-size using inspect element, the background-size returns to the normal size. Why is the background size changing? compare the following two pages from the app:
Without text and font-size: https://bootstrapp3.herokuapp.com/pages/page1
Background-size changing due to font-size: https://bootstrapp3.herokuapp.com/pages/consulta
note that the only difference between the pages is the content in the view. Both pages inherit from the application layout.
css with the background size:
body {
background-image:image-url('gotita.png');
background-size: cover;
background-repeat: repeat;
background-position: 0 51px;
}
font-size element:
p {
font-family: 'Architects Daughter';
font-size: 20px;
}