Skip to content

Commit b4beb97

Browse files
authored
fix: using tailwind 4 bg clases with modifiers (#265)
1 parent 327d29e commit b4beb97

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/ruby_ui/table/table_footer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def view_template(&)
1010

1111
def default_attrs
1212
{
13-
class: "border-t bg-muted bg-opacity-50 font-medium[& amp;>tr]:last:border-b-0"
13+
class: "border-t bg-muted/50 font-medium[& amp;>tr]:last:border-b-0"
1414
}
1515
end
1616
end

lib/ruby_ui/table/table_row.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def view_template(&)
1010

1111
def default_attrs
1212
{
13-
class: "border-b transition-colors hover:bg-muted hover:bg-opacity-50 data-[state=selected]:bg-muted"
13+
class: "border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted"
1414
}
1515
end
1616
end

0 commit comments

Comments
 (0)