diff options
-rw-r--r-- | assets/css/syntax-highlight-default.css | 1 | ||||
-rw-r--r-- | themes/default/layouts/_default/_markup/render-codeblock.html | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/assets/css/syntax-highlight-default.css b/assets/css/syntax-highlight-default.css index 5163171..18e5ab5 100644 --- a/assets/css/syntax-highlight-default.css +++ b/assets/css/syntax-highlight-default.css @@ -27,7 +27,6 @@ code-block button { border: 1px solid #ccc; - display: none; } code-block header language-label a, diff --git a/themes/default/layouts/_default/_markup/render-codeblock.html b/themes/default/layouts/_default/_markup/render-codeblock.html index 8bc484b..22d47e4 100644 --- a/themes/default/layouts/_default/_markup/render-codeblock.html +++ b/themes/default/layouts/_default/_markup/render-codeblock.html @@ -8,7 +8,7 @@ <language-label> <a href="#{{ $id }}">{{ $type }}</a> </language-label> - <button> + <button hidden> {{ safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/copy.svg")) }} <span>Copy</span> </button> |