fix(mobile): resolve TSpan text overlapping in QrTemplate3
This commit is contained in:
@@ -313,36 +313,32 @@ const QrTemplate3 = ({ qrBase64, ...props }: QrTemplate3Props) => (
|
|||||||
>
|
>
|
||||||
{"İÇİN OKUTUN"}
|
{"İÇİN OKUTUN"}
|
||||||
</Text>
|
</Text>
|
||||||
<Text x={200} y={546} textAnchor="middle">
|
<Text
|
||||||
<TSpan fill="#3e2723" fontFamily="Inter, Arial, sans-serif" fontSize={10} fontWeight={700}>
|
x={200}
|
||||||
{"WiFi: "}
|
y={546}
|
||||||
</TSpan>
|
fill="#3e2723"
|
||||||
<TSpan fill="#5d4037" fontFamily="Inter, Arial, sans-serif" fontSize={10}>
|
fontFamily="Inter, Arial, sans-serif"
|
||||||
{"GourmetBistro"}
|
fontSize={10.5}
|
||||||
</TSpan>
|
fontWeight={700}
|
||||||
<TSpan fill="#a1a1aa" fontFamily="Inter, Arial, sans-serif" fontSize={10}>
|
textAnchor="middle"
|
||||||
{" | "}
|
>
|
||||||
</TSpan>
|
{"WiFi: GourmetBistro | Şifre: lezzetli01"}
|
||||||
<TSpan fill="#3e2723" fontFamily="Inter, Arial, sans-serif" fontSize={10} fontWeight={700}>
|
|
||||||
{"Şifre: "}
|
|
||||||
</TSpan>
|
|
||||||
<TSpan fill="#5d4037" fontFamily="Inter, Arial, sans-serif" fontSize={10}>
|
|
||||||
{"lezzetli01"}
|
|
||||||
</TSpan>
|
|
||||||
</Text>
|
</Text>
|
||||||
<Text x={200} y={570} textAnchor="middle">
|
<Text
|
||||||
<TSpan fill="#b92b27" fontFamily="Inter, Arial, sans-serif" fontSize={10} fontWeight={700}>
|
x={200}
|
||||||
{"BİZİ TAKİP EDİN"}
|
y={570}
|
||||||
</TSpan>
|
fill="#b92b27"
|
||||||
<TSpan fill="#a1a1aa" fontFamily="Inter, Arial, sans-serif" fontSize={10}>
|
fontFamily="Inter, Arial, sans-serif"
|
||||||
{" | "}
|
fontSize={10.5}
|
||||||
</TSpan>
|
fontWeight={700}
|
||||||
<TSpan fill="#5d4037" fontFamily="Inter, Arial, sans-serif" fontSize={10}>
|
letterSpacing={0.5}
|
||||||
{"@gourmetbistro"}
|
textAnchor="middle"
|
||||||
</TSpan>
|
>
|
||||||
|
{"BİZİ TAKİP EDİN | @gourmetbistro"}
|
||||||
</Text>
|
</Text>
|
||||||
</G>
|
</G>
|
||||||
</Svg>
|
</Svg>
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
export default QrTemplate3;
|
export default QrTemplate3;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ interface QrTemplateLumiereProps extends SvgProps {
|
|||||||
qrBase64?: string;
|
qrBase64?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const QrTemplateLumiere = ({ qrBase64, ...props }: QrTemplateLumiereProps) => (
|
const QrTemplate1 = ({ qrBase64, ...props }: QrTemplateLumiereProps) => (
|
||||||
<Svg
|
<Svg
|
||||||
viewBox="0 0 600 600"
|
viewBox="0 0 600 600"
|
||||||
width={300}
|
width={300}
|
||||||
@@ -210,4 +210,4 @@ const QrTemplateLumiere = ({ qrBase64, ...props }: QrTemplateLumiereProps) => (
|
|||||||
</Svg>
|
</Svg>
|
||||||
);
|
);
|
||||||
|
|
||||||
export default QrTemplateLumiere;
|
export default QrTemplate1;
|
||||||
|
|||||||
Reference in New Issue
Block a user