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 c513f59 commit a3407b6Copy full SHA for a3407b6
src/Preview.tsx
@@ -175,10 +175,9 @@ const ErrorPane = () => {
175
*/}
176
<div
177
aria-hidden={true}
178
- role="alertdialog"
179
className={cn(
180
- "absolute top-0 left-0 h-full w-full transition-all",
181
- $errors.show && "bg-black/20 dark:bg-black/50",
+ "absolute top-0 left-0 hidden h-full w-full transition-all",
+ $errors.show && "block cursor-pointer bg-black/20 dark:bg-black/50",
182
)}
183
onClick={() => {
184
$toggleShowError(false);
@@ -188,6 +187,7 @@ const ErrorPane = () => {
188
187
</div>
189
190
+ role="alertdialog"
191
192
"absolute bottom-0 left-0 w-full",
193
$errors.show && "h-auto",
0 commit comments