Skip to content

[Card] footer-end slot not positioned correctly when no footer-start is present #12119

@macandcheese

Description

@macandcheese

Check existing issues

Actual Behavior

In Card, if no footer-start slot is populated, content in footer-end is not being positioned correctly.

Image

Expected Behavior

I'd expect footer-end content to be end-aligned when no footer-start content is present.

Image

Reproduction Sample

https://codepen.io/mac_and_cheese/pen/GggXbEQ?editors=1000

Reproduction Steps

  1. View issue in Codepen

Reproduction Version

3.1

Relevant Info

A workaround is to set additional styles on the slotted content.

Regression?

No response

Priority impact

impact - p2 - want for an upcoming milestone

Impact

No response

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/calcite-ui-icons
  • @esri/eslint-plugin-calcite-components

Esri team

Calcite (design)

Metadata

Metadata

Assignees

No one assigned

    Labels

    0 - newNew issues that need assignment.ArcGIS SolutionsIssues logged by ArcGIS Solutions team members.Calcite (design)Issues logged by Calcite designers.bugBug reports for broken functionality. Issues should include a reproduction of the bug.c-cardIssues that pertain to the calcite-card componentestimate - 2Small fix or update, may require updates to tests.has workaroundIssues have a workaround available in the meantime.impact - p2 - want for an upcoming milestoneUser set priority impact status of p2 - want for an upcoming milestoneneeds milestonePlanning workflow - pending milestone assignment, has priority and/or estimate.p - lowIssue is non core or affecting less that 10% of people using the library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions