提交 62d0e0c2 编写于 作者: K Kohsuke Kawaguchi

Merge pull request #2175 from kohsuke/JENKINS-33799

[FIX JENKINS-33799] Enforce correct icon size in list view
......@@ -71,7 +71,7 @@ THE SOFTWARE.
<j:otherwise>
<!-- We don't seem to have this icon in the IconSet... fallback again... -->
<j:set var="iconUrl" value="${it.getImageOf(iconSize)}"/>
<l:icon src="${iconUrl}" alt="${it.description}" tooltip="${it.description}" style="${attrs.style}" />
<l:icon src="${iconUrl}" class="${iconSizeClass}" alt="${it.description}" tooltip="${it.description}" style="${attrs.style}" />
</j:otherwise>
</j:choose>
</j:otherwise>
......
......@@ -1975,3 +1975,24 @@ body.main-panel-only #main-panel {
padding: 2em 10%;
}
}
/* see the Icon class for the definition of these CSS classes */
.icon-sm {
width: 16px;
height: 16px;
}
.icon-md {
width: 24px;
height: 24px;
}
.icon-lg {
width: 32px;
height: 32px;
}
.icon-xlg {
width: 48px;
height: 48px;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册