(refs #865)Fix styles for repository viewer

This commit is contained in:
Naoki Takezoe
2015-08-09 01:41:10 +09:00
parent 5c46dc0bd3
commit 3dfbdbfe51
3 changed files with 4 additions and 2 deletions

View File

@@ -100,7 +100,7 @@
@repository.repository.description.map { description => @repository.repository.description.map { description =>
<p class="description">@description</p> <p class="description">@description</p>
} }
<div style="border: 1px solid #eee; padding: 4px; margin-bottom: 10px;"> <div style="margin-bottom: 10px;" class="box-content">
<table class="fill-width"> <table class="fill-width">
<tr> <tr>
<td style="width: 33%; text-align: center;"> <td style="width: 33%; text-align: center;">

View File

@@ -44,7 +44,7 @@
</div> </div>
<table class="table table-file-list"> <table class="table table-file-list">
<tr> <tr>
<th colspan="4" style="font-weight: normal;"> <th colspan="4" style="font-weight: normal; border: none;">
<a href="@url(repository)/commit/@latestCommit.id" class="commit-message">@link(latestCommit.summary, repository)</a> <a href="@url(repository)/commit/@latestCommit.id" class="commit-message">@link(latestCommit.summary, repository)</a>
@if(latestCommit.description.isDefined){ @if(latestCommit.description.isDefined){
<a href="javascript:void(0)" onclick="$('#description-@latestCommit.id').toggle();" class="omit">...</a> <a href="javascript:void(0)" onclick="$('#description-@latestCommit.id').toggle();" class="omit">...</a>

View File

@@ -632,6 +632,8 @@ table.blobview {
table.table-file-list { table.table-file-list {
margin-bottom: 0px; margin-bottom: 0px;
border: 1px solid #ddd; border: 1px solid #ddd;
border-radius: 3px;
border-collapse: separate;
} }
table.table-file-list th, table.table-file-list td { table.table-file-list th, table.table-file-list td {