mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 09:43:06 +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;
|
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;
|
||||||
}
|
}
|
||||||
{{- end }}
|
:not(pre) > code.copy-to-clipboard-inline {
|
||||||
|
border-bottom-right-radius: 2px;
|
||||||
|
border-top-right-radius: 2px;
|
||||||
|
border-right-width: 1px;
|
||||||
|
}
|
||||||
|
{{- end }}
|
||||||
</style>
|
</style>
|
||||||
{{- partial "custom-header.html" . }}
|
{{- partial "custom-header.html" . }}
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Reference in a new issue