File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ def default_attrs
1313 data : {
1414 controller : "ruby-ui--form-field"
1515 } ,
16- class : "space-y -2"
16+ class : "flex flex-col gap -2"
1717 }
1818 end
1919 end
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ def default_attrs
1313 data : {
1414 ruby_ui__form_field_target : "error"
1515 } ,
16- class : "text-xs font-medium text-destructive"
16+ class : "empty:hidden text-sm font-medium text-destructive"
1717 }
1818 end
1919 end
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ def view_template(&)
99 private
1010
1111 def default_attrs
12- { class : "text-sm text-muted-foreground" }
12+ { class : "empty:hidden text-sm text-muted-foreground" }
1313 end
1414 end
1515end
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ def view_template(&)
1111 def default_attrs
1212 {
1313 class : [
14- "text-sm font-medium leading-none inline-block " ,
14+ "empty:hidden text-sm font-medium leading-none" ,
1515 "peer-disabled:cursor-not-allowed peer-disabled:opacity-70" ,
1616 "peer-aria-disabled:cursor-not-allowed peer-aria-disabled:opacity-70 peer-aria-disabled:pointer-events-none"
1717 ]
You can’t perform that action at this time.
0 commit comments