Skip to content
Snippets Groups Projects

Card: Use raw values instead of CSS var

Merged Administrator requested to merge tr/fix-card-spacing into main

Created by: umpox

Description

Our CardX components relied on the card-spacer variable. This might work fine, but we don't consistently render our CardX components within a Card wrapper. This can create strange styling bugs where the spacer variables do not exist, or only exist in certain circumstances.

Test plan

  1. Render a CardHeader outside of a Card component
  2. Notice that CardHeader now has the correct padding

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading