简体   繁体   中英

Increasing the global width of a Jekyll theme

is there a way to increase the global width of a Jekyll theme? I am currently experiencing a problem when viewed on an iPhone 6 that will misalign the privacy icon in Disqus when viewed like so:

在此处输入图片说明

I guess this is because the width of the theme needs to be a little wider. Is there a way to fix this? Any advice on how to fix this would be greatly appreciated! thanks!

The theme uses the class .content-container to manage to padding around the entire page.

The initial value for screens smaller than 38rem (as there's a media query for larger screens) is padding: 2rem 1rem; Reducing the horizontal padding in this style should give you more space and prevent the image being pushed to a new line.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM