Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

z-index of custom file input #24632

Closed
ysds opened this issue Nov 1, 2017 · 0 comments
Closed

z-index of custom file input #24632

ysds opened this issue Nov 1, 2017 · 0 comments
Labels

Comments

@ysds
Copy link
Member

ysds commented Nov 1, 2017

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;

@twbs twbs deleted a comment Nov 1, 2017
@twbs twbs deleted a comment Nov 1, 2017
@twbs twbs deleted a comment Nov 1, 2017
@mdo mdo closed this as completed in #24633 Nov 6, 2017
@mdo mdo mentioned this issue Nov 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants