Skip to content

Commit

Permalink
Merge pull request #1498 from umap-project/align-copy-button
Browse files Browse the repository at this point in the history
Align copy button to input in share box
  • Loading branch information
yohanboniface authored Jan 2, 2024
2 parents 05401af + 4b0bde5 commit c79e875
Show file tree
Hide file tree
Showing 5 changed files with 213 additions and 906 deletions.
21 changes: 19 additions & 2 deletions umap/static/umap/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,7 @@ input.switch:checked ~ label:after {
}
.umap-field-iconUrl .action-button,
.inheritable .define,
.inheritable .undefine,
.copy-button {
.inheritable .undefine {
float: right;
width: initial;
min-height: 18px;
Expand Down Expand Up @@ -652,6 +651,24 @@ input[type=hidden].blur + .button,
input[type=hidden].blur + [type="button"] {
display: none;
}
.copiable-input {
display: flex;
align-items: end;
}
.copiable-input input {
border-radius: initial;
}
.copiable-input button {
background-repeat: no-repeat;
background-image: url('./img/16.svg');
background-position: -45px -140px;
display: inline;
padding: 0 10px;
height: 32px;
width: 32px;
border: 1px solid #202425;
border-radius: initial;
}

/* *********** */
/* Panel */
Expand Down
2 changes: 1 addition & 1 deletion umap/static/umap/img/16.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit c79e875

Please sign in to comment.