-
Notifications
You must be signed in to change notification settings - Fork 53
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
base: dev
Are you sure you want to change the base?
Conversation
<CardFooter> | ||
<span> | ||
<FormattedMessage | ||
id="components.NearbyView.additionalVehicles" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this 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 { |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the span needed?
Description:
PR Checklist: