Skip to content

Commit

Permalink
Merge pull request #3058 from ferdas/master
Browse files Browse the repository at this point in the history
Fixes some UI bugs in Firefox #3044
  • Loading branch information
takluyver authored Nov 19, 2017
2 parents ba33c33 + 47a6401 commit 6f23f45
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
20 changes: 15 additions & 5 deletions notebook/static/tree/less/altuploadform.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,26 @@

input.fileinput
{
text-align: center;
vertical-align: middle;
display: inline;
position: absolute;

display: block;
width: 100%;
height: 100%;

cursor: pointer;

opacity: 0;
z-index: 2;
width: 12ex;
margin-right: -12ex;
}

.btn-xs > input.fileinput {
margin: -@padding-xs-vertical -@padding-xs-horizontal;
}

.btn-upload {
position: relative;
height: @btn_mini_height;
}
}

::-webkit-file-upload-button { cursor:pointer; }
5 changes: 4 additions & 1 deletion notebook/static/tree/less/tree.less
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ ul.breadcrumb {
input {
margin-right: @dashboard_lr_pad;
margin-left: @dashboard_lr_pad + @dashboard-selectorbtn-lpad;
vertical-align: baseline;
vertical-align: text-bottom;
line-height: @btn_mini_height;
position: relative;
top: -1px;
Expand Down Expand Up @@ -256,6 +256,9 @@ ul.breadcrumb {
#select-all {
margin-left: @dashboard_lr_pad;
margin-right: 2px;
margin-top: 2px;

height: 16px;
}

[dir="rtl"] #select-all.pull-left {
Expand Down

0 comments on commit 6f23f45

Please sign in to comment.