提交 cf0e6c68 编写于 作者: K Kohsuke Kawaguchi

set the size of the icon in CSS to avoid table re-layout

上级 df9db0af
......@@ -34,7 +34,7 @@ THE SOFTWARE.
<td data="${it.ordinal()}">
<j:if test="${attrs.it!=null}">
<img src="${it.getImageOf(iconSize)}" alt="${it.description}"
tooltip="${it.description}" style="${attrs.style}"/>
tooltip="${it.description}" style="${attrs.style}" class="icon${iconSize}"/>
</j:if>
</td>
</j:jelly>
......@@ -481,6 +481,22 @@ div.behavior-loading {
background-position: left center;
background-repeat: no-repeat;
}
.icon16x16 {
width: 16px;
height: 16px;
}
.icon24x24 {
width: 24px;
height: 24px;
}
.icon32x32 {
width: 32px;
height: 32px;
}
/* ====================== help ===================================== */
.help {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册