Updated dependencies to use Git modules, Updated build script, Improved wedge

Update .gitignore, .gitmodules, and 6 more files...
This commit is contained in:
2023-12-20 01:59:26 +01:00
parent 44a05eb73a
commit f84e5ddfa3
8 changed files with 49 additions and 35 deletions

View File

@@ -15,7 +15,7 @@ if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
<link rel="stylesheet" href="/resources/NibblePoker/css/nibblepoker.min.css?v=1">
<?php
if($enable_code_highlight) {
echo('<link href="/resources/HighlightJS/11.6.0/styles/atom-one-dark.min.css" rel="stylesheet"/>');
echo('<link href="/resources/HighlightJS/src/styles/atom-one-dark.min.css" rel="stylesheet"/>');
}
if($enable_gallery) {
echo('<link href="/resources/SplideJs/dist/css/splide.min.css" rel="stylesheet"/>');

View File

@@ -10,8 +10,7 @@ if($enable_gallery) {
}
if($enable_code_highlight) {
echo('<script src="/resources/HighlightJS/11.6.0/highlight.min.js"></script>');
echo('<script src="/resources/HighlightJS/11.6.0/languages/csharp.min.js"></script>');
echo('<script src="/resources/HighlightJS/highlight.min.js"></script>');
}
?>
<script src="/resources/NibblePoker/js/nibblepoker.min.js"></script>

View File

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