mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-17 01:14:40 +08:00
ui: enlarge NOFX watermark overlays
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user