mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +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,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 }}
|
||||
</style>
|
||||
{{- partial "custom-header.html" . }}
|
||||
</head>
|
||||
|
|
Loading…
Reference in a new issue