[dyad] Increased schema padding - wrote 1 file(s)
This commit is contained in:
@@ -105,7 +105,7 @@ const FaqQuestion = ({ item }: { item: any }) => {
|
|||||||
item.acceptedAnswer?.text
|
item.acceptedAnswer?.text
|
||||||
) {
|
) {
|
||||||
return (
|
return (
|
||||||
<div className="p-2 border rounded-md bg-background text-sm space-y-1">
|
<div className="p-3 border rounded-md bg-background text-sm space-y-1">
|
||||||
<div className="grid grid-cols-[auto_1fr] gap-x-2 items-baseline">
|
<div className="grid grid-cols-[auto_1fr] gap-x-2 items-baseline">
|
||||||
<strong className="font-semibold text-muted-foreground">
|
<strong className="font-semibold text-muted-foreground">
|
||||||
Question:
|
Question:
|
||||||
@@ -136,7 +136,7 @@ const SchemaObjectRenderer = ({
|
|||||||
}) => {
|
}) => {
|
||||||
const gridClasses =
|
const gridClasses =
|
||||||
level > 0 ? "md:grid-cols-[10rem_1fr]" : "md:grid-cols-[12rem_1fr]";
|
level > 0 ? "md:grid-cols-[10rem_1fr]" : "md:grid-cols-[12rem_1fr]";
|
||||||
const paddingClasses = level > 1 ? "p-1.5" : "p-2";
|
const paddingClasses = level > 1 ? "p-3" : "p-4";
|
||||||
|
|
||||||
const content = (
|
const content = (
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user