Skip to content

Commit

Permalink
Share Widget. Reduce button size. Share URL no longer selectable.
Browse files Browse the repository at this point in the history
  • Loading branch information
turner committed Jul 13, 2024
1 parent fe9f249 commit 330b2a2
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
4 changes: 4 additions & 0 deletions css/_share-modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ button#igv-share-url-button {
}
}

input#igv-app-share-input {
pointer-events: none;
}

#igv-app-qrcode-image {
padding: 16px;
display:none;
Expand Down
4 changes: 4 additions & 0 deletions css/app.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/app.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -470,10 +470,10 @@
<!-- Copy URL -->
<div class="row">
<div class="col">
<div class="input-group">
<div class="input-group input-group-sm">
<input id="igv-app-share-input" type="text" class="form-control" placeholder="">
<div class="input-group-append">
<button id="igv-app-copy-link-button" class="btn btn-outline-secondary" type="button">Copy Session URL</button>
<button id="igv-app-copy-link-button" class="btn btn-sm btn-outline-secondary" type="button">Copy Session URL</button>
</div>
</div>
</div>
Expand All @@ -483,8 +483,8 @@
<div class="row pt-4">
<div class="col">
<div class="btn-group custom-btn-group" role="group">
<button id="igv-app-embed-button" type="button" class="btn btn-outline-secondary">Embeddable iframe</button>
<button id="igv-app-copy-iframe-button" type="button" class="btn btn-outline-secondary">Copy iframe</button>
<button id="igv-app-embed-button" type="button" class="btn btn-sm btn-outline-secondary">Embeddable iframe</button>
<button id="igv-app-copy-iframe-button" type="button" class="btn btn-sm btn-outline-secondary">Copy iframe</button>
</div>
</div>
</div>
Expand All @@ -499,7 +499,7 @@
<!-- QR Code Button -->
<div id="igv-app-qrcode-container" class="row pt-4">
<div class="col">
<button id="igv-app-qrcode-button" type="button" class="btn btn-outline-secondary">Create QR Code</button>
<button id="igv-app-qrcode-button" type="button" class="btn btn-sm btn-outline-secondary">Create QR Code</button>
</div>
</div>

Expand Down

0 comments on commit 330b2a2

Please sign in to comment.