From b7a73fe4481403995d31e192cce11e1b86b8e14b Mon Sep 17 00:00:00 2001 From: Face <69168154+face-hh@users.noreply.github.com> Date: Wed, 30 Jul 2025 15:24:26 +0300 Subject: [PATCH] fix text alignment --- Scripts/B9/CSSParser.gd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Scripts/B9/CSSParser.gd b/Scripts/B9/CSSParser.gd index c55645c..dd01cf1 100644 --- a/Scripts/B9/CSSParser.gd +++ b/Scripts/B9/CSSParser.gd @@ -175,7 +175,8 @@ static func parse_utility_class_internal(rule: CSSRule, utility_name: String) -> return # Handle standard text color classes like text-white, text-black, etc. - if utility_name.begins_with("text-"): + # But exclude text alignment classes + if utility_name.begins_with("text-") and not utility_name in ["text-left", "text-center", "text-right", "text-justify"]: var color_name = utility_name.substr(5) # after 'text-' var color = get_color(color_name) if color != null: