rename align to text_align, so we can have item_align

This commit is contained in:
2022-12-15 14:25:57 +02:00
parent 67dc8a07c3
commit 33bb02c8c8
11 changed files with 25 additions and 19 deletions

View File

@ -18,7 +18,7 @@ module Merged
{class: clazz}
end
def align_option(section , clazz = "")
def text_align_option(section , clazz = "")
if section.has_option?("align")
# text-center , text-left , text-right , leave comment for tailwind
clazz += " text-#{section.option('align')}"