Open marslo opened 3 years ago
Second that, same here.
@starwarsfan I thought it was a feature 🤣
Metoo, maybe problem is jenkins
Metoo, maybe problem is jenkins
Jenkins default theme works well with the "in progress" status icon. So that quite unlikely is the issue of Jenkins.
Metoo, có thể vấn đề là jenkins
Chủ đề mặc định của Jenkins hoạt động tốt với biểu tượng đang chạy. Vì vậy, điều đó khá khó xảy ra là vấn đề của Jenkins.
I agree. Used to be fine but when I recently updated jenkins there was a problem with icon
well... I've using workaround bypass the issue :
svg[class*=anime] { visibility: collapse }
btw, using hidden
as the same as the collapse
.
Details:
it can be setup in Jenkins via:
Nice job @marslo! Would be cool to see a PR for this
Nice job @marslo! Would be cool to see a PR for this
this is actually the workaround, just hidden the overlayer svg image...
Still happening with Jenkins 2.293 and jenkins-material-theme.css v.1.3.3, any news on that matter? Thanks
Implemented the workaround (thanks @marslo !) but it would be great if @afonsof or somebody could fix the underlying issue.
Related Jenkins Issue: JENKINS-65808
The issue has hit other themes too: https://github.com/TobiX/jenkins-neo2-theme/issues/40
Hello, thank you for the workaround.
If anyone want to set up it using groovy script, here is the script I use
import jenkins.model.Jenkins
import org.jenkinsci.plugins.simpletheme.CssUrlThemeElement
import org.jenkinsci.plugins.simpletheme.CssTextThemeElement
Jenkins jenkins = Jenkins.get()
def themeDecorator = jenkins.getExtensionList(org.codefirst.SimpleThemeDecorator.class).first()
themeDecorator.setElements([
new CssUrlThemeElement('https://cdn.rawgit.com/afonsof/jenkins-material-theme/gh-pages/dist/material-indigo.css'),
// fix jenkins theme issue https://github.com/afonsof/jenkins-material-theme/issues/183#issuecomment-806518351
new CssTextThemeElement('svg[class*=anime] { visibility: collapse }')
])
jenkins.save()
well... I've using workaround bypass the issue :
svg[class*=anime] { visibility: collapse }
btw, using
hidden
as the same as thecollapse
.Details:
it can be setup in Jenkins via:
Thanks, it do the job
ths
Jenkins version: 2.284/2.283 simple theme plugin version: 0.6 material theme: 0.3.2
The running icon shows up:
after using Jenkins default theme: