Project

General

Profile

Feature #29214 » 0002-Place-the-copy-button-inside-the-code-block.patch

Katsuya HIDAKA, 2025-03-07 07:42

View differences:

app/assets/stylesheets/application.css
div.wiki div.pre-wrapper {
position: relative;
padding-right: 10px;
}
div.wiki pre {
......
div.pre-wrapper a.copy-pre-content-link {
position: absolute;
top: 0px;
right: 8px;
top: 3px;
right: calc(1em + 3px);
cursor: pointer;
display: none;
border-radius: 3px;
background: #fff;
border: 1px solid #ccc;
padding: 2px;
}
div.pre-wrapper:hover a.copy-pre-content-link {
(9-9/11)