chore: use correct font size for placeholder

This commit is contained in:
Aman Harwara
2023-12-12 14:12:53 +05:30
parent c6d3daec92
commit 6b652a8573

View File

@@ -94,7 +94,7 @@ export const BlocksEditor: FunctionComponent<BlocksEditorProps> = ({
</div> </div>
} }
placeholder={ placeholder={
<div className="pointer-events-none absolute left-4 top-4 text-passive-1"> <div className="pointer-events-none absolute left-4 top-4 text-[length:--font-size] text-passive-1">
Type <span className="rounded bg-passive-4-opacity-variant p-0.5">/</span> for commands... Type <span className="rounded bg-passive-4-opacity-variant p-0.5">/</span> for commands...
</div> </div>
} }