feature section, split. more column options

This commit is contained in:
2023-01-05 18:54:13 +02:00
parent 14e3564fa4
commit b28b28da02
8 changed files with 39 additions and 10 deletions

View File

@ -111,8 +111,9 @@ module Merged
def column_option(section)
option = section.option('columns')
option = 2 if option.blank?
case option
when "1"
columns = "grid-cols-1"
when "3"
columns = "grid-cols-1 md:grid-cols-2 lg:grid-cols-3"
when "4"