diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-03-05 22:11:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-05 22:11:12 +0300 |
commit | 971e619c892f092ce0480c9c20184a3d12fe6b4a (patch) | |
tree | fc2403b8846936d374366f7581d09d1eed57c439 /core/css | |
parent | c8b50c2199aabd6b94d6aaf333e08e91d2c18194 (diff) | |
parent | 243feca7869b65945bc6b617d378d7d76f60754d (diff) |
Merge pull request #19671 from nextcloud/fix-loading-icons-on-replaced-elements
Fix loading icons on replaced elements
Diffstat (limited to 'core/css')
-rw-r--r-- | core/css/icons.scss | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/css/icons.scss b/core/css/icons.scss index 2dbd08f61d9..ebf61b761e7 100644 --- a/core/css/icons.scss +++ b/core/css/icons.scss @@ -81,17 +81,17 @@ } /* Css replaced elements don't have ::after nor ::before */ -img, object, video, button, textarea, input, select, div[contenteditable='true'] { - .icon-loading { +audio, canvas, embed, iframe, img, input, object, video { + &.icon-loading { background-image: url('../img/loading.gif'); } - .icon-loading-dark { + &.icon-loading-dark { background-image: url('../img/loading-dark.gif'); } - .icon-loading-small { + &.icon-loading-small { background-image: url('../img/loading-small.gif'); } - .icon-loading-small-dark { + &.icon-loading-small-dark { background-image: url('../img/loading-small-dark.gif'); } } |