Finished copy button, Improved opengraph, Updated scripts

Update sidebar.php, composer.php, and 13 more files...
This commit is contained in:
2023-12-22 08:01:17 +01:00
parent c8c59c8271
commit fe72b3a62e
15 changed files with 78 additions and 31 deletions

View File

@@ -777,8 +777,11 @@ class ComposerElement {
}
if($this->codeCopyable) {
$htmlCode .= '<div class="wedge wedge-tr primary js-code-copy border border-t-0 border-r-0 rbl-m rtr-s p-xxxs px-xs wedge-shadow" hidden>';
$htmlCode .= '<i class="fad fa-copy"></i> ' . localize("common.action.copy");
//border-t-0 border-r-0
$htmlCode .= '<div class="wedge wedge-tr primary js-code-copy border rbl-m rtr-s p-xxxs px-xs" hidden>';
$htmlCode .= '<i class="fad fa-copy"></i>&nbsp;';
$htmlCode .= '<span>' . localize("common.action.copy") . '</span>';
$htmlCode .= '<span hidden>' . localize("common.action.copied") . '</span>';
$htmlCode .= '</div>';
}