copyToClipBoard: add missing right border for inline code #153

if disableInlineCopyToClipBoard=true
This commit is contained in:
Sören Weber 2021-11-16 00:16:31 +01:00
parent dd7e308a4d
commit 092046ae52
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589

View file

@ -29,9 +29,14 @@
display:none !important;
}
{{- if .Site.Params.disableInlineCopyToClipBoard }}
:not(pre) > code + span.copy-to-clipboard {
: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 }}
</style>
{{- partial "custom-header.html" . }}