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

Support Floating Vehicle Bunching #1333

Open
wants to merge 8 commits into
base: dev
Choose a base branch
from

Conversation

miles-grant-ibigroup
Copy link
Collaborator

@miles-grant-ibigroup miles-grant-ibigroup commented Dec 23, 2024

Description:
Screenshot 2024-12-23 at 2 44 09 PM

PR Checklist:

  • Does the code follow accessibility standards (WCAG 2.1 AA Compliant)?
  • Are all languages supported (Internationalization/Localization)?
  • Are appropriate Typescript types implemented?

<CardFooter>
<span>
<FormattedMessage
id="components.NearbyView.additionalVehicles"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this layout more advantageous than placing this text underneath the distance label (see illustration)?
image

Copy link
Collaborator

@binh-dam-ibigroup binh-dam-ibigroup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. See if you can simplify the CSS. My comment about putting the text below the distance is not blocking.

display: block;
}

&::before {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this for the margin between the footer and the body of the card, and can it be done using margin-top of CardFooter itself instead?

@@ -119,6 +120,18 @@ const Vehicle = ({
)}
{fromToSlot}
</CardBody>
{vehicle.additionalCount > 0 && (
<CardFooter>
<span>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the span needed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants