pull/37/head
accius 2 days ago
parent a837be6802
commit 7ad6fbc86f

@ -626,8 +626,8 @@ const App = () => {
{/* RIGHT SIDEBAR */}
<div style={{ display: 'flex', flexDirection: 'column', gap: '4px', overflow: 'hidden' }}>
{/* DX Cluster */}
<div style={{ flex: '0 1 auto', minHeight: '120px', maxHeight: '160px', overflow: 'hidden' }}>
{/* DX Cluster - primary panel, takes most space */}
<div style={{ flex: '2 1 auto', minHeight: '180px', overflow: 'hidden' }}>
<DXClusterPanel
data={dxCluster.data}
loading={dxCluster.loading}
@ -643,7 +643,7 @@ const App = () => {
</div>
{/* PSKReporter - digital mode spots */}
<div style={{ flex: '0 1 auto', minHeight: '120px', maxHeight: '160px', overflow: 'hidden' }}>
<div style={{ flex: '1 1 auto', minHeight: '140px', overflow: 'hidden' }}>
<PSKReporterPanel
callsign={config.callsign}
showOnMap={mapLayers.showPSKReporter}
@ -656,11 +656,6 @@ const App = () => {
/>
</div>
{/* Contests - bigger with live indicators */}
<div style={{ flex: '1 1 auto', minHeight: '140px', overflow: 'hidden' }}>
<ContestPanel data={contests.data} loading={contests.loading} />
</div>
{/* DXpeditions */}
<div style={{ flex: '0 0 auto', minHeight: '70px', maxHeight: '100px', overflow: 'hidden' }}>
<DXpeditionPanel data={dxpeditions.data} loading={dxpeditions.loading} />
@ -675,6 +670,11 @@ const App = () => {
onToggleMap={togglePOTA}
/>
</div>
{/* Contests - at bottom, compact */}
<div style={{ flex: '0 0 auto', minHeight: '80px', maxHeight: '120px', overflow: 'hidden' }}>
<ContestPanel data={contests.data} loading={contests.loading} />
</div>
</div>
</div>
)}

@ -125,7 +125,7 @@ export const ContestPanel = ({ data, loading }) => {
</div>
) : sortedContests.length > 0 ? (
<div style={{ fontSize: '10px', fontFamily: 'JetBrains Mono, monospace' }}>
{sortedContests.slice(0, 8).map((contest, i) => {
{sortedContests.slice(0, 4).map((contest, i) => {
const live = isContestLive(contest);
const soon = isStartingSoon(contest);

Loading…
Cancel
Save

Powered by TurnKey Linux.