Skip to content

Commit 4b0bde5

Browse files
committed
Align copy button to input in share box
cf #1454
1 parent 05401af commit 4b0bde5

File tree

5 files changed

+213
-906
lines changed

5 files changed

+213
-906
lines changed

umap/static/umap/base.css

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,8 +456,7 @@ input.switch:checked ~ label:after {
456456
}
457457
.umap-field-iconUrl .action-button,
458458
.inheritable .define,
459-
.inheritable .undefine,
460-
.copy-button {
459+
.inheritable .undefine {
461460
float: right;
462461
width: initial;
463462
min-height: 18px;
@@ -652,6 +651,24 @@ input[type=hidden].blur + .button,
652651
input[type=hidden].blur + [type="button"] {
653652
display: none;
654653
}
654+
.copiable-input {
655+
display: flex;
656+
align-items: end;
657+
}
658+
.copiable-input input {
659+
border-radius: initial;
660+
}
661+
.copiable-input button {
662+
background-repeat: no-repeat;
663+
background-image: url('./img/16.svg');
664+
background-position: -45px -140px;
665+
display: inline;
666+
padding: 0 10px;
667+
height: 32px;
668+
width: 32px;
669+
border: 1px solid #202425;
670+
border-radius: initial;
671+
}
655672

656673
/* *********** */
657674
/* Panel */

umap/static/umap/img/16.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)