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 <div
style={{ style={{
position: 'absolute', position: 'absolute',
top: '20px', top: '50%',
right: '20px', left: '50%',
fontSize: '24px', transform: 'translate(-50%, -50%)',
width: '80%',
fontSize: 'min(20vw, 160px)',
fontWeight: 'bold', fontWeight: 'bold',
color: 'rgba(240, 185, 11, 0.15)', color: 'rgba(240, 185, 11, 0.12)',
zIndex: 10, zIndex: 10,
pointerEvents: 'none', pointerEvents: 'none',
fontFamily: 'monospace', fontFamily: 'monospace',
textAlign: 'center',
letterSpacing: '0.4rem',
lineHeight: 1,
userSelect: 'none',
}} }}
> >
NOFX NOFX

View File

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