diff --git a/src/App.jsx b/src/App.jsx index 255584d..4cd4468 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -497,7 +497,7 @@ const App = () => { transformOrigin: 'center center', display: 'grid', gridTemplateColumns: '270px 1fr 300px', - gridTemplateRows: '65px 1fr', + gridTemplateRows: '55px 1fr', gap: '8px', padding: '8px', overflow: 'hidden', diff --git a/src/components/Header.jsx b/src/components/Header.jsx index e3a802a..a91724e 100644 --- a/src/components/Header.jsx +++ b/src/components/Header.jsx @@ -22,89 +22,87 @@ export const Header = ({
{/* Callsign & Settings */} -
+
{config.callsign} - v3.7.0 + v3.7.0
{/* UTC Clock */} -
- UTC +
+ UTC {utcTime} - {utcDate} + {utcDate}
{/* Local Clock - Clickable to toggle 12/24 hour format */}
- LOCAL + LOCAL {localTime} - {localDate} + {localDate}
{/* Weather & Solar Stats */} -
+
{localWeather?.data && ( -
- {localWeather.data.icon} +
+ {localWeather.data.icon} - {localWeather.data.temp}°F / {Math.round((localWeather.data.temp - 32) * 5/9)}°C + {localWeather.data.temp}°F/{Math.round((localWeather.data.temp - 32) * 5/9)}°C
)} -
+
SFI - {spaceWeather?.data?.solarFlux || '--'} + {spaceWeather?.data?.solarFlux || '--'}
-
+
K - = 4 ? 'var(--accent-red)' : 'var(--accent-green)', fontWeight: '700', fontSize: '16px' }}> + = 4 ? 'var(--accent-red)' : 'var(--accent-green)', fontWeight: '700' }}> {spaceWeather?.data?.kIndex ?? '--'}
-
+
SSN - {spaceWeather?.data?.sunspotNumber || '--'} + {spaceWeather?.data?.sunspotNumber || '--'}
{/* Settings & Fullscreen Buttons */} -
+
@@ -132,11 +131,12 @@ export const Header = ({ style={{ background: 'var(--bg-tertiary)', border: '1px solid var(--border-color)', - padding: '8px 14px', + padding: '6px 10px', borderRadius: '4px', color: 'var(--text-secondary)', - fontSize: '13px', - cursor: 'pointer' + fontSize: '12px', + cursor: 'pointer', + whiteSpace: 'nowrap' }} > ⚙ Settings @@ -146,11 +146,12 @@ export const Header = ({ style={{ background: isFullscreen ? 'rgba(0, 255, 136, 0.15)' : 'var(--bg-tertiary)', border: `1px solid ${isFullscreen ? 'var(--accent-green)' : 'var(--border-color)'}`, - padding: '8px 14px', + padding: '6px 10px', borderRadius: '4px', color: isFullscreen ? 'var(--accent-green)' : 'var(--text-secondary)', - fontSize: '13px', - cursor: 'pointer' + fontSize: '12px', + cursor: 'pointer', + whiteSpace: 'nowrap' }} title={isFullscreen ? "Exit Fullscreen (Esc)" : "Enter Fullscreen"} >