Skip to content

Commit

Permalink
Fix OSM link (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeharding authored Oct 30, 2023
1 parent 14dcbd4 commit 6420e8d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 8 additions & 6 deletions src/features/rap/extra/reportMetadata/ReportMetadata.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ const StyledDataList = styled(DataList)`
margin: 2rem 1rem 1rem;
`;

const LegendContainer = styled.div`
position: relative;
z-index: 1;
background: var(--bg-bottom-sheet);
`;

export default function ReportMetadata() {
const aviationWeather = useAppSelector(
(state) => state.weather.aviationWeather
Expand Down Expand Up @@ -86,11 +92,7 @@ export default function ReportMetadata() {
</StyledMapContainer>
</Parallax>

<div
css={css`
background: var(--bg-bottom-sheet);
`}
>
<LegendContainer>
<Legend
showTaf={!!(aviationWeather && typeof aviationWeather === "object")}
showNws={
Expand All @@ -104,7 +106,7 @@ export default function ReportMetadata() {

<PointInfo />
</StyledDataList>
</div>
</LegendContainer>
</Container>
);
}
Expand Down
1 change: 0 additions & 1 deletion src/shared/Parallax.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ interface ParallaxProps {

const Container = styled.div`
position: relative;
z-index: -1;
`;

export default function Parallax({ speed = 0.5, children }: ParallaxProps) {
Expand Down

0 comments on commit 6420e8d

Please sign in to comment.