Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test page: Don't trigger ad-blockers with class #2677

Merged
merged 1 commit into from Dec 22, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 7 additions & 7 deletions test.html
Expand Up @@ -95,33 +95,33 @@
position: relative;
}

.share-wrapper {
.link-wrapper {
position: absolute;
top: 0;
right: 0;
background-color: white;
}
.share-wrapper .hidden-wrapper {
.link-wrapper .hidden-wrapper {
display: none;
}

.share-wrapper:hover {
.link-wrapper:hover {
top: -.5em;
right: -1em;
width: 300px;
padding: .5em 1em;
outline: 1px solid #888;
}
.share-wrapper:hover .hidden-wrapper {
.link-wrapper:hover .hidden-wrapper {
display: block;
}

.share-wrapper input {
.link-wrapper input {
width: 100%;
box-sizing: border-box;
}

.share-wrapper button {
.link-wrapper button {
border: none;
background: none;
font: inherit;
Expand Down Expand Up @@ -155,7 +155,7 @@ <h2>Test drive</h2>

<div id="options" style="margin: 1em 0">
<label><input type="checkbox" id="option-show-tokens"> Show tokens</label>
<div class="share-wrapper">
<div class="link-wrapper">
<a id="share-link" href="" style="float: right;">Share</a>
<div class="hidden-wrapper">
<input id="share-link-input" type="text" readonly onClick="this.select();"/>
Expand Down