Skip to content

z-index of custom file input #24632

@ysds

Description

@ysds

Custom file inputs has z-index: 5 and 6. I'm not sure why 1 to 4 are not being used, but I think we can reduce the z-index.

Related code:

.custom-file-control {
position: absolute;
top: 0;
right: 0;
left: 0;
z-index: 5;

&::before {
position: absolute;
top: -$custom-file-border-width;
right: -$custom-file-border-width;
bottom: -$custom-file-border-width;
z-index: 6;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions