link to file from its history (#27354)
Fixes #3852 Fixes https://github.com/go-gitea/gitea/issues/26707 Add a button on file history which directs you to the file at the selected commit. Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
parent
cb68e01e22
commit
33de64cb21
4 changed files with 10 additions and 12 deletions
|
@ -1328,13 +1328,6 @@ img.ui.avatar,
|
|||
display: inline-block; /* not sure whether it is still needed */
|
||||
}
|
||||
|
||||
.ui .button.copy-commit-sha {
|
||||
border: 1px solid var(--color-light-border);
|
||||
margin-right: 3px;
|
||||
padding: 6px 6px 4px;
|
||||
background: var(--color-light);
|
||||
}
|
||||
|
||||
.ui .button.truncate {
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
|
|
|
@ -3051,9 +3051,6 @@ tbody.commit-list {
|
|||
.commit-table th.sha {
|
||||
display: none !important;
|
||||
}
|
||||
.commit-table .commit-list .copy-commit-sha {
|
||||
display: none !important;
|
||||
}
|
||||
.comment-header {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue