Skip to content

Simplify custom file inner height for generated browse button - #26416

Merged
mdo merged 1 commit into
v4-devfrom
custom-file-height-inner
Apr 30, 2018
Merged

mdo merged 1 commit into
v4-devfrom
custom-file-height-inner

Conversation

@mdo

@mdo mdo commented Apr 29, 2018

Copy link
Copy Markdown
Member

Closes #25724 which had us doing more unnecessary math:

-  height: calc(calc(2.25rem + 2px) - 1px * 2);
+  height: calc(2.25rem + 2px - 1px * 2);

By instead extending the $input-height-inner variable:

-  height: calc(calc(2.25rem + 2px) - 1px * 2);
+  height: 2.25rem;

Fixes #25717.

/cc @MartijnCuppens

@mdo
mdo merged commit 139e892 into v4-dev Apr 30, 2018
@mdo
mdo deleted the custom-file-height-inner branch April 30, 2018 00:02
@mdo mdo mentioned this pull request Apr 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant