highlight: fix position of copy-to-clipboard button in LTR #594

This commit is contained in:
Sören Weber 2023-07-26 22:40:54 +02:00
parent e9d3eb6489
commit 75d2bae3d6
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
2 changed files with 1 additions and 5 deletions

View file

@ -126,10 +126,6 @@
border-bottom-right-radius: 2px; border-bottom-right-radius: 2px;
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
} }
div.highlight > div table + .copy-to-clipboard-button,
pre > .copy-to-clipboard-button {
right: 4px;
}
.disableInlineCopyToClipboard span > code.copy-to-clipboard-code { .disableInlineCopyToClipboard span > code.copy-to-clipboard-code {
border-top-right-radius: 2px; border-top-right-radius: 2px;
border-bottom-right-radius: 2px; border-bottom-right-radius: 2px;

View file

@ -1153,7 +1153,7 @@ pre > .copy-to-clipboard-button {
border-radius: 2px; border-radius: 2px;
border-style: solid; border-style: solid;
border-width: 1px; border-width: 1px;
inset-inline-end: 4px; right: 4px;
padding: 5px 3px; padding: 5px 3px;
position: absolute; position: absolute;
top: 4px; top: 4px;