Skip to content

[SegmentedRadioGroup] Horizontal alignment breaks if you specify the width property #2133

@ieromanov

Description

@ieromanov

How to reproduce

  1. Open the example in storybook https://preview.gravity-ui.com/uikit/?path=/story/components-inputs-segmentedradiogroup--icons
  2. Set the width property to auto/max

Package version: @gravity-ui/uikit: 7.1.1
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 YaBrowser/25.2.0.0 Safari/537.36

Screen.Recording.2025-02-25.at.10.24.51.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions