Reduce README padding at smaller resolutions

This commit is contained in:
Chris Kankiewicz
2020-01-21 13:42:51 -07:00
parent 16db321866
commit 0fd31e85e5

View File

@@ -3,7 +3,7 @@
<i class="fas fa-book fa-lg pr-3"></i> README.md
</header>
<article class="bg-gray-100 rounded-b-lg px-12 py-8 {{ readme.getExtension == 'md' ? 'markdown' : 'font-mono' }}">
<article class="bg-gray-100 rounded-b-lg px-4 py-8 sm:px-6 md:px-8 lg:px-12 {{ readme.getExtension == 'md' ? 'markdown' : 'font-mono' }}">
{% if readme.getExtension == 'md' %}
{{ markdown(readme.getContents) | raw }}
{% else %}