Skip to content

Commit 6f23f45

Browse files
authored
Merge pull request #3058 from ferdas/master
Fixes some UI bugs in Firefox #3044
2 parents ba33c33 + 47a6401 commit 6f23f45

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

notebook/static/tree/less/altuploadform.less

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,26 @@
1313

1414
input.fileinput
1515
{
16-
text-align: center;
17-
vertical-align: middle;
18-
display: inline;
16+
position: absolute;
17+
18+
display: block;
19+
width: 100%;
20+
height: 100%;
21+
22+
cursor: pointer;
23+
1924
opacity: 0;
2025
z-index: 2;
21-
width: 12ex;
22-
margin-right: -12ex;
26+
}
27+
28+
.btn-xs > input.fileinput {
29+
margin: -@padding-xs-vertical -@padding-xs-horizontal;
2330
}
2431

2532
.btn-upload {
33+
position: relative;
2634
height: @btn_mini_height;
2735
}
2836
}
37+
38+
::-webkit-file-upload-button { cursor:pointer; }

notebook/static/tree/less/tree.less

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ ul.breadcrumb {
125125
input {
126126
margin-right: @dashboard_lr_pad;
127127
margin-left: @dashboard_lr_pad + @dashboard-selectorbtn-lpad;
128-
vertical-align: baseline;
128+
vertical-align: text-bottom;
129129
line-height: @btn_mini_height;
130130
position: relative;
131131
top: -1px;
@@ -256,6 +256,9 @@ ul.breadcrumb {
256256
#select-all {
257257
margin-left: @dashboard_lr_pad;
258258
margin-right: 2px;
259+
margin-top: 2px;
260+
261+
height: 16px;
259262
}
260263

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

0 commit comments

Comments
 (0)