1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-21 14:47:41 +01:00

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>