Skip to content

md-input-chip: leading padding is incorrect #5784

Open
@HarmfulBreeze

Description

@HarmfulBreeze

What is affected?

Component

Description

According to the design doc[1], leading-space should be 12px, whereas it currently is 16px in the code[2].

[1] https://m3.material.io/components/chips/specs#1dcff1cb-22f5-41da-809e-6c85b467cff1
[2]

'leading-space': if($exclude-hardcoded-values, null, 16px),

Reproduction

N/A

Workaround

N/A

Is this a regression?

No or unsure. This never worked, or I haven't tried before.

Affected versions

Failing in 2.2.0

Browser/OS/Node environment

N/A

Activity

changed the title [-]md-filter-chip: leading padding is incorrect[/-] [+]md-input-chip: leading padding is incorrect[/+] on Apr 3, 2025
added a commit that references this issue on Apr 3, 2025
38f780d
HarmfulBreeze

HarmfulBreeze commented on Apr 3, 2025

@HarmfulBreeze
Author

Sorry for mixing up filter chip and input chip 😅
Filter chip looks fine, I think only input chip's padding needs to be adjusted. I edited the issue accordingly.

added a commit that references this issue on Apr 30, 2025
c35a092
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @HarmfulBreeze

      Issue actions

        md-input-chip: leading padding is incorrect · Issue #5784 · material-components/material-web