ui: enlarge NOFX watermark overlays

This commit is contained in:
icy
2025-11-06 18:18:04 +08:00
parent 98515c525d
commit 096ed0fd6e
2 changed files with 20 additions and 8 deletions

View File

@@ -269,14 +269,20 @@ export function ComparisonChart({ traders }: ComparisonChartProps) {
<div
style={{
position: 'absolute',
top: '20px',
right: '20px',
fontSize: '24px',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
width: '80%',
fontSize: 'min(20vw, 160px)',
fontWeight: 'bold',
color: 'rgba(240, 185, 11, 0.15)',
color: 'rgba(240, 185, 11, 0.12)',
zIndex: 10,
pointerEvents: 'none',
fontFamily: 'monospace',
textAlign: 'center',
letterSpacing: '0.4rem',
lineHeight: 1,
userSelect: 'none',
}}
>
NOFX

View File

@@ -296,14 +296,20 @@ export function EquityChart({ traderId }: EquityChartProps) {
<div
style={{
position: 'absolute',
top: '15px',
right: '15px',
fontSize: '20px',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
width: '80%',
fontSize: 'min(20vw, 160px)',
fontWeight: 'bold',
color: 'rgba(240, 185, 11, 0.15)',
color: 'rgba(240, 185, 11, 0.12)',
zIndex: 10,
pointerEvents: 'none',
fontFamily: 'monospace',
textAlign: 'center',
letterSpacing: '0.4rem',
lineHeight: 1,
userSelect: 'none',
}}
>
NOFX