Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/ruby_ui/form/form_field_error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def default_attrs
data: {
ruby_ui__form_field_target: "error"
},
class: "text-sm font-medium text-destructive"
class: "text-xs font-medium text-destructive"
}
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/ruby_ui/form/form_field_label.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def view_template(&)
def default_attrs
{
class: [
"text-sm font-medium leading-none",
"text-sm font-medium leading-none inline-block",
"peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
"peer-aria-disabled:cursor-not-allowed peer-aria-disabled:opacity-70 peer-aria-disabled:pointer-events-none"
]
Expand Down