fix: Max height for hero image

This commit is contained in:
Faris Ansari 2020-04-29 23:02:43 +05:30
parent 4620074db4
commit 2bbe26ada0
2 changed files with 4 additions and 1 deletions

View file

@ -23,7 +23,7 @@
</div>
{%- if image -%}
{{ c('image_with_blur',
class=["hidden md:block", "w-full md:w-6/12" if contain_image else "md:max-w-md lg:max-w-lg xl:max-w-xl xxl:max-w-2xl"],
class=["hidden md:block max-h-144", "w-full md:w-6/12" if contain_image else "md:max-w-md lg:max-w-lg xl:max-w-xl xxl:max-w-2xl"],
src=image,
alt="")
}}

View file

@ -46,6 +46,9 @@ module.exports = {
borderRadius: {
xl: '0.75rem'
},
maxHeight: {
'144': '36rem'
},
boxShadow: theme => ({
'outline-primary': `0 0 0 3px ${rgba(theme('colors.blue.300'), 0.45)}`
}),