Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PSP-9508: fix and adding colour to focus map buttons #4479

Merged
merged 2 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ const LegendButton = styled(Button as any)`
&&.btn:hover {
color: white;
}

&&.btn:focus {
color: white;
}
`;

export const LegendControl: React.FC<React.PropsWithChildren<unknown>> = () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ const ZoomButton = styled(Button)`
&&.btn:hover {
color: white;
}
&&.btn:focus {
color: white;
}
`;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const PropertyDetailsTabView: React.FunctionComponent<IPropertyDetailsTab
</Section>

<Section header="Property Attributes">
<SectionField label="Legal Description">{property?.landLegalDescription}</SectionField>
<SectionField label="Legal description">{property?.landLegalDescription}</SectionField>
<SectionField label="MOTI region">{property?.region?.description}</SectionField>
<SectionField label="Highways district">
<InlineContainer>
Expand All @@ -121,7 +121,7 @@ export const PropertyDetailsTabView: React.FunctionComponent<IPropertyDetailsTab
<SectionField label="Electoral district">
{property?.electoralDistrict?.properties.ED_NAME}
</SectionField>
<SectionField label="Agricultural Land Reserve">
<SectionField label="Agricultural land reserve">
{property?.isALR ? 'Yes' : 'No'}
</SectionField>
<SectionField label="Railway belt / Dominion patent">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,10 @@ exports[`MapContainer > Renders the map 1`] = `
color: white;
}

.c5.c5.btn:focus {
color: white;
}

.c6.c6.btn {
background-color: #ffffff;
color: #474543;
Expand All @@ -419,6 +423,10 @@ exports[`MapContainer > Renders the map 1`] = `
color: white;
}

.c6.c6.btn:focus {
color: white;
}

.c1 {
display: -webkit-box;
display: -webkit-flex;
Expand Down
Loading