提交 08a5edc6 编写于 作者: K Kohsuke Kawaguchi

Use CSS to create space instead of nbsp

上级 b3a47fc3
......@@ -59,9 +59,6 @@ THE SOFTWARE.
checkUrl="${attrs.checkUrl}" json="${attrs.json}"
checked="${(attrs.checked ?: instance[attrs.field] ?: attrs.default) ? 'true' : null}"/>
<j:if test="${attrs.title!=null}">
<label class="attach-previous">
<j:whitespace> </j:whitespace>
${attrs.title}
</label>
<label class="attach-previous">${attrs.title}</label>
</j:if>
</j:jelly>
\ No newline at end of file
......@@ -52,7 +52,6 @@ THE SOFTWARE.
<td colspan="3">
<input type="radio" name="${name}" value="${value}"
class="radio-block-control" checked="${checked?'true':null}" />
<st:nbsp/>
<label class="attach-previous">${title}</label>
</td>
<j:if test="${attrs.help!=null}">
......
......@@ -45,7 +45,6 @@ THE SOFTWARE.
<j:forEach var="descriptor" items="${descriptors}">
<s:block>
<input type="radio" name="mode" value="${descriptor.class.name}" onchange="updateOk(this.form)" onclick="updateOk(this.form)" />
<st:nbsp/>
<label class="attach-previous"><b>${descriptor.displayName}</b></label>
</s:block>
<s:entry>
......@@ -56,7 +55,6 @@ THE SOFTWARE.
<j:if test="${!empty(attrs.copyNames)}">
<s:block>
<input type="radio" name="mode" value="copy" onchange="updateOk(this.form)" onclick="updateOk(this.form)" />
<st:nbsp/>
<label class="attach-previous"><b>${attrs.copyTitle}</b></label>
</s:block>
<s:entry>
......
......@@ -456,6 +456,10 @@ div.behavior-loading {
filter: alpha(opacity=50);
}
LABEL.attach-previous {
margin-left: 0.5em;
}
/* ======================== error/warning message (mainly in the form.) Use them on block elements ======================== */
.error {
color: #CC0000;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册