From 9df533dbe9e19d3a1a95135cfcd588d496743539 Mon Sep 17 00:00:00 2001 From: LeoKle Date: Tue, 25 Jul 2023 19:01:11 +0200 Subject: [PATCH] add black background to cells --- frontend/src/App.css | 5 ++++ frontend/src/components/Markers.tsx | 36 ++++++++++++++--------------- 2 files changed, 23 insertions(+), 18 deletions(-) diff --git a/frontend/src/App.css b/frontend/src/App.css index 82c49f5..263bcc3 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -55,4 +55,9 @@ .custom-icon { color: white; +} + +.background-black { + background-color: rgb(10,10,10); + color: white; } \ No newline at end of file diff --git a/frontend/src/components/Markers.tsx b/frontend/src/components/Markers.tsx index 9c3f47c..e48cfd0 100644 --- a/frontend/src/components/Markers.tsx +++ b/frontend/src/components/Markers.tsx @@ -127,41 +127,41 @@ function ConditionTableIcon({ zoom, conditions }: PropsTable) { - + Sector - + FIR - AD - COP - Level - {hasSpecialConditions ? Special Conditions : null} - From - To - From - To + AD + COP + Level + {hasSpecialConditions ? Special Conditions : null} + From + To + From + To {agreements.map((condition, index) => ( - + {condition.adep_ades === 'ADEP' ? '\u2191' : condition.adep_ades === 'ADES' ? '\u2193' : ''} {condition.aerodrome} - {condition.cop} - + {condition.cop} + {condition.feet ? 'A' : 'FL'} {condition.level} {condition.xc} - {hasSpecialConditions ? {condition.special_conditions} : null} - {condition.from_sector} - {condition.to_sector} - {condition.from_fir} - {condition.to_fir} + {hasSpecialConditions ? {condition.special_conditions} : null} + {condition.from_sector} + {condition.to_sector} + {condition.from_fir} + {condition.to_fir} ))}