Update style

This commit is contained in:
CajunAvenger
2023-03-25 08:32:19 -05:00
parent 1c8fad1660
commit 957dd353e5

View File

@@ -224,7 +224,7 @@ init script:
}
text_filter := text_filter + {apply_margins(input, name:margin_code)} + {add_spacers(input, name:margin_code)}
margin_top := {
if input == "lv2" or (input == "lv3" and card.level_3_text != "") or (input == "lv4" and card.level_4_text != "") then 30 else 0
if not is_class() then 0 else if input == "lv2" or (input == "lv3" and card.level_3_text != "") or (input == "lv4" and card.level_4_text != "") then 30 else 0
}
###add blank spaces to inner levels so they still are clickable while "empty"
add_spacers := { if input == "" and (margin_code == "lv1" or margin_code == "lv2" or margin_code == "lv3") then "" else input}