mirror of
https://github.com/ivabus/www
synced 2024-11-22 12:55:07 +03:00
<a> instead of 'onClick'
This commit is contained in:
parent
f649ccda52
commit
ba49f17e0d
1 changed files with 39 additions and 1 deletions
|
@ -5,7 +5,9 @@
|
||||||
<!-- The button used to copy the text -->
|
<!-- The button used to copy the text -->
|
||||||
|
|
||||||
<button type="button" class="clipboard-copy" id="liveToastBtn" onclick="changeCopied()">copy</button>
|
<button type="button" class="clipboard-copy" id="liveToastBtn" onclick="changeCopied()">copy</button>
|
||||||
<button type="button" class="clipboard-copy" id="source-btn" onclick="window.open('https://github.com/teaxyz/setup/blob/main/install.sh');">view source</button>
|
<a href="https://github.com/teaxyz/setup/blob/main/install.sh" class="src-link">
|
||||||
|
<button type="button" class="clipboard-copy source-btn" id="source-btn">view source</button>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
|
@ -35,6 +37,15 @@
|
||||||
border-left: 2px solid #949494;
|
border-left: 2px solid #949494;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.source-btn{
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.src-link{
|
||||||
|
width: 20% !important;
|
||||||
|
padding: 0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
.clipboard-copy{
|
.clipboard-copy{
|
||||||
height: 8.371vw;
|
height: 8.371vw;
|
||||||
width: 20%;
|
width: 20%;
|
||||||
|
@ -84,6 +95,15 @@
|
||||||
border-left: 2px solid #949494;
|
border-left: 2px solid #949494;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.source-btn{
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.src-link{
|
||||||
|
width: 20% !important;
|
||||||
|
padding: 0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
.clipboard-copy{
|
.clipboard-copy{
|
||||||
height: 8.371vw;
|
height: 8.371vw;
|
||||||
width: 20%;
|
width: 20%;
|
||||||
|
@ -136,6 +156,15 @@
|
||||||
border-left: 2px solid #949494;
|
border-left: 2px solid #949494;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.source-btn{
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.src-link{
|
||||||
|
width: 50% !important;
|
||||||
|
padding: 0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
.clipboard-copy{
|
.clipboard-copy{
|
||||||
padding: 5vw 4vw;
|
padding: 5vw 4vw;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
|
@ -185,6 +214,15 @@
|
||||||
border-right: 2px solid #949494;
|
border-right: 2px solid #949494;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.source-btn{
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.src-link{
|
||||||
|
width: 50% !important;
|
||||||
|
padding: 0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
.clipboard-copy{
|
.clipboard-copy{
|
||||||
padding: 5vw 4vw;
|
padding: 5vw 4vw;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
|
|
Loading…
Reference in a new issue