From 0f5b248a24a495816ec2696f53c7ce816dec08a2 Mon Sep 17 00:00:00 2001 From: Sean O'Hara Date: Tue, 29 Apr 2025 11:13:32 -0400 Subject: [PATCH] fix: using tailwind 4 bg clases with modifiers --- lib/ruby_ui/table/table_footer.rb | 2 +- lib/ruby_ui/table/table_row.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ruby_ui/table/table_footer.rb b/lib/ruby_ui/table/table_footer.rb index 156d7683..24bf71ac 100644 --- a/lib/ruby_ui/table/table_footer.rb +++ b/lib/ruby_ui/table/table_footer.rb @@ -10,7 +10,7 @@ def view_template(&) def default_attrs { - class: "border-t bg-muted bg-opacity-50 font-medium[& amp;>tr]:last:border-b-0" + class: "border-t bg-muted/50 font-medium[& amp;>tr]:last:border-b-0" } end end diff --git a/lib/ruby_ui/table/table_row.rb b/lib/ruby_ui/table/table_row.rb index 4b451df7..d1eeb2b4 100644 --- a/lib/ruby_ui/table/table_row.rb +++ b/lib/ruby_ui/table/table_row.rb @@ -10,7 +10,7 @@ def view_template(&) def default_attrs { - class: "border-b transition-colors hover:bg-muted hover:bg-opacity-50 data-[state=selected]:bg-muted" + class: "border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted" } end end