diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 7cf29302ff..2e03b24215 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -29,10 +29,15 @@ display:none !important; } {{- if .Site.Params.disableInlineCopyToClipBoard }} - :not(pre) > code + span.copy-to-clipboard { - display: none; - } - {{- end }} + :not(pre) > code.copy-to-clipboard-inline + span.copy-to-clipboard { + display: none; + } + :not(pre) > code.copy-to-clipboard-inline { + border-bottom-right-radius: 2px; + border-top-right-radius: 2px; + border-right-width: 1px; + } + {{- end }} {{- partial "custom-header.html" . }}