mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00:00
Copy button on code blocks is positioned incorrectly in RTL layout (#43512).
Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@24161 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f3fbb8a7e9
commit
a73e13bbc2
@ -1619,13 +1619,14 @@ div.wiki *:not(pre)>code, div.wiki>code {
|
||||
div.pre-wrapper a.copy-pre-content-link {
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
right: calc(1em + 3px);
|
||||
inset-inline-end: calc(1em + 3px);
|
||||
cursor: pointer;
|
||||
display: none;
|
||||
border-radius: 3px;
|
||||
background: var(--oc-white);
|
||||
border: 1px solid var(--oc-gray-4);
|
||||
padding: 0px 3px 3px 3px;
|
||||
padding-block: 0 3px;
|
||||
padding-inline: 3px;
|
||||
}
|
||||
|
||||
div.pre-wrapper:hover a.copy-pre-content-link {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user