Hide copy texts on mega-small viewports https://youtu.be/q6EoRBvdVPQ

This commit is contained in:
Jip Fr 2023-12-09 13:12:26 +01:00
parent 41aaf29be7
commit 0000354a13

View File

@ -53,8 +53,10 @@ export function ErrorCard(props: {
</>
) : (
<>
<Icon icon={Icons.COPY} className="mr-3 text-2xl" />
{t("actions.copy")}
<Icon icon={Icons.COPY} className="min-[400px]:mr-3 text-2xl" />
<span className="hidden min-[400px]:inline-block">
{t("actions.copy")}
</span>
</>
)}
</Button>