consisant bg positioning (always bottom)
This commit is contained in:
parent
c58b5fc4ba
commit
73cf70d74f
@ -26,8 +26,8 @@ module Merged
|
||||
clazz += " bg-fixed"
|
||||
end
|
||||
if(align = section.option("image_align"))
|
||||
align += "-bottom" unless align == "center"
|
||||
# for tailwind: bg-left-bottom bg-right-bottom bg-center
|
||||
align = "bg-bottom" if align == "center"
|
||||
# for tailwind: bg-left-bottom bg-right-bottom
|
||||
clazz += " bg-#{align}"
|
||||
end
|
||||
{class: clazz , style: style}
|
||||
|
Loading…
Reference in New Issue
Block a user