Skip to content

fix: make vehicleCardHeader visible by removing Meta wrapper#374

Open
cyator wants to merge 1 commit into
OWASP:developfrom
cyator:fix/vehicle-card-header-visibility
Open

fix: make vehicleCardHeader visible by removing Meta wrapper#374
cyator wants to merge 1 commit into
OWASP:developfrom
cyator:fix/vehicle-card-header-visibility

Conversation

@cyator

@cyator cyator commented Jul 11, 2026

Copy link
Copy Markdown

Description

This PR fixes issue #373 where the vehicleCardHeader (containing the vehicle VIN, "Vehicle Service History", and "Contact Mechanic" buttons) was present in the DOM but hidden from the user interface.

The issue was caused by the Ant Design component, which enforces white-space: nowrap and overflow: hidden on its title wrapper (.ant-card-meta-title). This strict CSS truncated and hid the block-level component.

By removing the wrapper and placing the header directly into the body, the component is no longer constrained by these CSS rules and renders correctly.

###Testing
Deployed the application locally.
Verified that the vehicleCardHeader is now fully visible and properly formatted at the top of the vehicle cards on the dashboard.
Verified the action buttons are clickable and correctly aligned.

###Documentation
N/A - This is a CSS/UI bug fix that does not require documentation updates.

Checklist:

  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged
  • I have documented any changes if required in the docs.
image

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.

1 participant