Skip to content

bug (mat-button-toggle-group and mat-button-toggle): styling issue with border gaps when zoomed in #23059

Open
@samosuki

Description

@samosuki

Steps to Reproduce

Use Google Chrome or Microsoft Edge

  1. Navigate to Button Toggle Overview Page - https://material.angular.io/components/button-toggle/overview

  2. Select Bold, Italic or Underline button under Basic button-toggles.

  3. Zoom to 125%, 150 or 175%.

  4. Gaps exist between the edges of the selected button and the border of the group button.

Expected Behaviour

There should be no gaps between the edges of the selected button and the border.

Actual Behaviour

Gaps exist between the edges of the selected button and the border of the group button.

Behaviour is seen on Chrome and Edge, but the expected behaviour occurs on Firefox.

Environment

  • Angular: 12, 8
  • Browser(s): Chrome, Edge
  • Operating System: Windows

Screenshots

Microsoft Edge at zoom 150%
image

Google Chrome at zoom 125%
image

Firefox at zoom 150% (Expected behaviour)
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: material/button-toggle

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions