mirror of
https://github.com/redmine/redmine.git
synced 2026-01-21 06:53:08 +01: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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user