mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 15:57:57 +00:00
copyToClipBoard: add missing right border for inline code #153
if disableInlineCopyToClipBoard=true
This commit is contained in:
parent
dd7e308a4d
commit
092046ae52
1 changed files with 9 additions and 4 deletions
|
@ -29,9 +29,14 @@
|
||||||
display:none !important;
|
display:none !important;
|
||||||
}
|
}
|
||||||
{{- if .Site.Params.disableInlineCopyToClipBoard }}
|
{{- if .Site.Params.disableInlineCopyToClipBoard }}
|
||||||
:not(pre) > code + span.copy-to-clipboard {
|
:not(pre) > code.copy-to-clipboard-inline + span.copy-to-clipboard {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
:not(pre) > code.copy-to-clipboard-inline {
|
||||||
|
border-bottom-right-radius: 2px;
|
||||||
|
border-top-right-radius: 2px;
|
||||||
|
border-right-width: 1px;
|
||||||
|
}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</style>
|
</style>
|
||||||
{{- partial "custom-header.html" . }}
|
{{- partial "custom-header.html" . }}
|
||||||
|
|
Loading…
Reference in a new issue