Fossil SCM

Avoid line breaks between the copy button and the hash on the /info page.

florian 2019-06-01 07:11 copybtn.js-demonstration
Commit 8c7e26208b46136253bc99702fc04f910a44476025a9279fcbdbbed81889844e
1 file changed +3 -3
+3 -3
--- src/info.c
+++ src/info.c
@@ -794,13 +794,13 @@
794794
@ | %z(href("%R/tree?nofiles&type=tree&ci=%!S",zUuid))folders</a>
795795
@ </td>
796796
@ </tr>
797797
798798
@ <tr><th>%s(hname_alg(nUuid)):</th><td>
799
- @ <span class="copy-button" id="copy-fullhash" data-copytarget="fullhash"
800
- @ data-copylength="%d(hash_digits(1))"></span>
801
- @ <span id="fullhash">%.32s(zUuid)<wbr>%s(zUuid+32)</span>
799
+ @ <span class="copy-button" id="copy-fullhash"
800
+ @ data-copytarget="fullhash" data-copylength="%d(hash_digits(1))">
801
+ @ </span>&nbsp;<span id="fullhash">%.32s(zUuid)<wbr>%s(zUuid+32)</span>
802802
if( g.perm.Setup ){
803803
@ (Record ID: %d(rid))
804804
}
805805
@ </td></tr>
806806
@ <tr><th>User&nbsp;&amp;&nbsp;Date:</th><td>
807807
--- src/info.c
+++ src/info.c
@@ -794,13 +794,13 @@
794 @ | %z(href("%R/tree?nofiles&type=tree&ci=%!S",zUuid))folders</a>
795 @ </td>
796 @ </tr>
797
798 @ <tr><th>%s(hname_alg(nUuid)):</th><td>
799 @ <span class="copy-button" id="copy-fullhash" data-copytarget="fullhash"
800 @ data-copylength="%d(hash_digits(1))"></span>
801 @ <span id="fullhash">%.32s(zUuid)<wbr>%s(zUuid+32)</span>
802 if( g.perm.Setup ){
803 @ (Record ID: %d(rid))
804 }
805 @ </td></tr>
806 @ <tr><th>User&nbsp;&amp;&nbsp;Date:</th><td>
807
--- src/info.c
+++ src/info.c
@@ -794,13 +794,13 @@
794 @ | %z(href("%R/tree?nofiles&type=tree&ci=%!S",zUuid))folders</a>
795 @ </td>
796 @ </tr>
797
798 @ <tr><th>%s(hname_alg(nUuid)):</th><td>
799 @ <span class="copy-button" id="copy-fullhash"
800 @ data-copytarget="fullhash" data-copylength="%d(hash_digits(1))">
801 @ </span>&nbsp;<span id="fullhash">%.32s(zUuid)<wbr>%s(zUuid+32)</span>
802 if( g.perm.Setup ){
803 @ (Record ID: %d(rid))
804 }
805 @ </td></tr>
806 @ <tr><th>User&nbsp;&amp;&nbsp;Date:</th><td>
807

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button