Browse Source

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

pull/514/head
Jip Fr 2 years ago
parent
commit
0000354a13
  1. 6
      src/pages/parts/errors/ErrorCard.tsx

6
src/pages/parts/errors/ErrorCard.tsx

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

Loading…
Cancel
Save