diff options
author | Denys Konovalov <kontakt@denyskon.de> | 2023-10-02 06:04:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-02 04:04:32 +0000 |
commit | 33de64cb21505259338e393ef0d15ccb0f757475 (patch) | |
tree | c9537f2d8a4138bee2fb5fce502b284bac2b3656 /web_src/css | |
parent | cb68e01e22fb20cb0e23090654a4e7285fb8d933 (diff) | |
download | gitea-33de64cb21505259338e393ef0d15ccb0f757475.tar.gz gitea-33de64cb21505259338e393ef0d15ccb0f757475.zip |
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>
Diffstat (limited to 'web_src/css')
-rw-r--r-- | web_src/css/base.css | 7 | ||||
-rw-r--r-- | web_src/css/repo.css | 3 |
2 files changed, 0 insertions, 10 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css index 1a4e9d16a1..c1ebc959d5 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -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%; diff --git a/web_src/css/repo.css b/web_src/css/repo.css index 562fb4a345..8e3448c43a 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -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; } |