Fix CSS styles.

This commit is contained in:
takezoe
2013-07-03 09:43:16 +09:00
parent 65fdd478fc
commit b27b3d0329
3 changed files with 11 additions and 2 deletions

View File

@@ -141,7 +141,7 @@
</div>
}
</div>
<ul class="label-list">
<ul class="label-list nav nav-pills nav-stacked">
@labellist(issueLabels)
</ul>
</div>

View File

@@ -1,4 +1,4 @@
@(issueLabels: List[model.Label])
@issueLabels.map { label =>
<li><span class="label" style="display: block; background-color: #@label.color; color: #@label.fontColor; margin-top: 2px; padding: 4px;">@label.labelName</span></li>
<li><span class="issue-label" style="background-color: #@label.color; color: #@label.fontColor;">@label.labelName</span></li>
}

View File

@@ -449,6 +449,15 @@ div.issue-comment-action {
border-bottom: 4px solid #ddd;
}
.nav-pills > li > span.issue-label {
display: block;
padding: 0px 8px 2px 8px;
margin-top: 2px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
/****************************************************************************/
/* Wiki */
/****************************************************************************/