mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +08:00
ensure form group styles correctly apply (#1477)
* ensure form group styles correctly apply * removed log statement Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
This commit is contained in:
parent
f374eec22d
commit
7664d950e7
@ -60,7 +60,10 @@
|
||||
typeof style.rounded !== "boolean" ||
|
||||
(typeof style.rounded === "boolean" && style.rounded);
|
||||
|
||||
$: rounded_style = get_styles({ rounded: rounded }, ["rounded"]).classes;
|
||||
$: rounded_style =
|
||||
typeof style.rounded === "boolean"
|
||||
? get_styles({ rounded: rounded }, ["rounded"]).classes
|
||||
: "";
|
||||
$: visible_style = get_styles({ visible }, ["visible"]).classes;
|
||||
</script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user