add spacer
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
%section.overflow-hidden.bg-gray-50.sm:grid.sm:grid-cols-2
|
||||
.p-8.md:p-12.lg:px-16.lg:py-24
|
||||
%section.overflow-hidden.sm:grid.sm:grid-cols-2
|
||||
.p-8.m-5.bg-gray-50.md:p-12.lg:px-16.lg:py-24
|
||||
.mx-auto.max-w-xl.text-center.sm:text-left
|
||||
%h2.text-2xl.font-bold.text-gray-900.md:text-3xl
|
||||
= section["header"]
|
||||
@ -8,4 +8,4 @@
|
||||
.mt-4.md:mt-8
|
||||
-if section["button"]
|
||||
= render 'elements/button' , button: section["button"]
|
||||
= image_for( section , "h-56 w-full object-cover sm:h-full")
|
||||
= image_for( section , "p-5 h-56 w-full object-cover sm:h-full")
|
||||
|
1
app/views/sections/_section_spacer.haml
Normal file
1
app/views/sections/_section_spacer.haml
Normal file
@ -0,0 +1 @@
|
||||
.h-24
|
Reference in New Issue
Block a user