Skip to content

Wrong calculation of "rail" element variables #3835

Closed
@ikhilko

Description

Looks like variables @closeWidth, @veryCloseWidth, @dividingWidth has bad unit calculations here:
https://github.com/Semantic-Org/Semantic-UI/blob/master/src/themes/default/elements/rail.variables#L26

As you can see
@closeWidth: @width(300px) + @splitCloseDistance(1em); will be calculated as 301px;
@veryCloseWidth: @width(300px) + @splitVeryCloseDistance(0.5em); will be calculated as 300.5px;
@dividingWidth: @width(300px) + @splitDividingDistance(2.5rem); will be calculated as 302.5px;

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions