π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove nesting
Manav Rathid22cf34a0e45
diff --git a/web/apps/cast/src/components/LargeType.tsx b/web/apps/cast/src/components/LargeType.tsxindex 76501fba71..fd25c9d868 100644--- a/web/apps/cast/src/components/LargeType.tsx+++ b/web/apps/cast/src/components/LargeType.tsx@@ -23,37 +23,32 @@ const colourPool = [export default function LargeType({ chars }: { chars: string[] }) {return (- <table+ <divstyle={{fontSize: "4rem",fontWeight: "bold",fontFamily: "monospace",display: "flex",- position: "relative",}}>{chars.map((char, i) => (- <tr+ <spankey={i}style={{display: "flex",flexDirection: "column",alignItems: "center",padding: "0.5rem",+ lineHeight: 1.2,// alternating backgroundbackgroundColor: i % 2 === 0 ? "#2e2e2e" : "#5e5e5e",+ // varying colors+ color: colourPool[i % colourPool.length],}}>- <span- style={{- color: colourPool[i % colourPool.length],- lineHeight: 1.2,- }}- >- {char}- </span>- </tr>+ {char}+ </span>))}- </table>+ </div>);}