Merge #16687 - Fix #16659 - Column Drop arrow is not responsive

Pull-request: #16687
Fixes: #16659

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2021-03-05 11:38:58 +01:00
commit a4468f2d1e
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889
5 changed files with 20 additions and 15 deletions

View File

@ -1774,9 +1774,10 @@ var makeGrid = function (t, enableResize, enableReorder, enableVisib, enableGrid
g.hideColList();
});
// attach to global div
$(g.gDiv).append(g.cDrop);
$(g.gDiv).append(g.cList);
// attach to first row first col of the grid
var thFirst = $(g.t).find('th.print_ignore');
$(thFirst).append(g.cDrop);
$(thFirst).append(g.cList);
// some adjustment
g.reposDrop();

View File

@ -2455,7 +2455,7 @@ input#auto_increment_opt {
}
.cDrop {
#{$left}: 0;
#{$right}: 0;
position: absolute;
top: 0;
}
@ -2464,9 +2464,7 @@ input#auto_increment_opt {
background: url("../img/col_drop.png");
cursor: pointer;
height: 16px;
margin-#{$left}: 0.3em;
margin-top: 0.3em;
position: absolute;
width: 16px;
&:hover {
@ -2485,6 +2483,9 @@ input#auto_increment_opt {
-moz-box-shadow: 0 0.2em 0.5em #333;
-webkit-box-shadow: 0 0.2em 0.5em #333;
box-shadow: 0 0.2em 0.5em #333;
margin-#{$left}: 75%;
#{$right}: 0;
width: max-content;
.lDiv div {
padding: 0.2em 0.5em 0.2em;

View File

@ -2427,7 +2427,7 @@ form.append_fields_form .tblFooters {
}
.cDrop {
#{$left}: 0;
#{$right}: 0;
position: absolute;
top: 0;
}
@ -2436,9 +2436,7 @@ form.append_fields_form .tblFooters {
background: url("../img/col_drop.png");
cursor: pointer;
height: 16px;
margin-#{$left}: 0.3em;
margin-top: 0.3em;
position: absolute;
width: 16px;
&:hover {
@ -2454,6 +2452,9 @@ form.append_fields_form .tblFooters {
background: #fff;
border: solid 1px #ccc;
position: absolute;
margin-#{$left}: 75%;
#{$right}: 0;
width: max-content;
.lDiv div {
padding: 0.2em 0.5em 0.2em;

View File

@ -2137,7 +2137,7 @@ input#auto_increment_opt {
}
.cDrop {
#{$left}: 0;
#{$right}: 0;
position: absolute;
top: 0;
}
@ -2146,9 +2146,7 @@ input#auto_increment_opt {
background: url("../img/col_drop.png");
cursor: pointer;
height: 16px;
margin-#{$left}: 0.5em;
margin-top: 0.3em;
position: absolute;
width: 16px;
&:hover {
@ -2164,6 +2162,9 @@ input#auto_increment_opt {
background: #eee;
border: solid 1px #999;
position: absolute;
margin-#{$left}: 75%;
#{$right}: 0;
width: max-content;
.lDiv div {
padding: 0.2em 0.5em 0.2em 0.2em;

View File

@ -2521,7 +2521,7 @@ input#auto_increment_opt {
}
.cDrop {
#{$left}: 0;
#{$right}: 0;
position: absolute;
top: 0;
}
@ -2530,9 +2530,7 @@ input#auto_increment_opt {
background: url("../img/col_drop.png");
cursor: pointer;
height: 16px;
margin-#{$left}: 0.3em;
margin-top: 0.3em;
position: absolute;
width: 16px;
&:hover {
@ -2551,6 +2549,9 @@ input#auto_increment_opt {
-moz-box-shadow: 0 0.2em 0.5em #333;
-webkit-box-shadow: 0 0.2em 0.5em #333;
box-shadow: 0 0.2em 0.5em #333;
margin-#{$left}: 75%;
#{$right}: 0;
width: max-content;
.lDiv div {
padding: 0.2em 0.5em 0.2em;