We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fefe729 commit ac08283Copy full SHA for ac08283
lib/ruby_ui/input/input.rb
@@ -24,8 +24,9 @@ def default_attrs
24
"placeholder:text-muted-foreground",
25
"disabled:cursor-not-allowed disabled:opacity-50",
26
"file:border-0 file:bg-transparent file:text-sm file:font-medium",
27
+ "aria-disabled:cursor-not-allowed aria-disabled:opacity-50 aria-disabled:pointer-events-none",
28
"focus-visible:outline-none focus-visible:ring-ring/50 focus-visible:ring-2 focus-visible:border-ring focus-visible:shadow-sm",
- "aria-disabled:cursor-not-allowed aria-disabled:opacity-50 aria-disabled:pointer-events-none"
29
+ (@type.to_s == "file") ? "pt-[7px]" : ""
30
]
31
}
32
end
0 commit comments