diff options
author | silverwind <me@silverwind.io> | 2022-11-21 10:59:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-21 17:59:42 +0800 |
commit | c2fb27beb4a0f9a9ad1478937439bcf4c43aff4a (patch) | |
tree | 0f690c4aeecb6caa0a8cb24623141f3e569b8e72 /web_src/less/animations.less | |
parent | e4eaa68a2b2355c7333406fdcbb8b118677b95df (diff) | |
download | gitea-c2fb27beb4a0f9a9ad1478937439bcf4c43aff4a.tar.gz gitea-c2fb27beb4a0f9a9ad1478937439bcf4c43aff4a.zip |
Improvements for Content Copy (#21842)
It now supports copying Markdown, SVG and Images (not in Firefox
currently because of lacking
[`ClipboardItem`](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardItem)
support, but can be enabled in `about:config` and works). It will fetch
the data if in a rendered view or when it's an image.
Followup to https://github.com/go-gitea/gitea/pull/21629.
Diffstat (limited to 'web_src/less/animations.less')
-rw-r--r-- | web_src/less/animations.less | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/web_src/less/animations.less b/web_src/less/animations.less index 6d32625704..689898da2a 100644 --- a/web_src/less/animations.less +++ b/web_src/less/animations.less @@ -33,6 +33,12 @@ height: var(--height-loading); } +.btn-octicon.is-loading::after { + border-width: 2px; + height: 1.25rem; + width: 1.25rem; +} + code.language-math.is-loading::after { padding: 0; border-width: 2px; |