#93: update styles

This commit is contained in:
Vokhmin Alexey V 2013-04-10 13:15:53 +04:00
parent cb808207b4
commit 511ccbc61a
3 changed files with 31 additions and 26 deletions

View File

@ -2019,3 +2019,10 @@ article .activity .top {
.cm-s-default.md_and_cm p img {
max-width: 800px;
}
.tablesorter.project {
.th1 {
width: auto;
}
th { text-align: center; }
}

View File

@ -1514,32 +1514,30 @@ div.fork p {
/* Project main page */
table.tablesorter.project .th1 {
width: 130px;
/*padding-left: 17px;*/
}
.tablesorter.project {
table.tablesorter.project .th2 {
width: 110px;
/*padding-left: 17px;*/
}
table.tablesorter.project .th3 {
width: 450px;
}
table.tablesorter.project .th4 {
/*padding-left: 17px;*/
}
table.tablesorter.project div.name {
float: left;
margin-top: 0px;
}
table.tablesorter.project div.pic {
float: left;
padding-right: 5px;
.th1 {
width: 130px;
/*padding-left: 17px;*/
}
.th2 {
width: 110px;
/*padding-left: 17px;*/
}
.th3 {
width: 450px;
}
.th4 {
/*padding-left: 17px;*/
}
.name {
float: left;
margin-top: 0px;
}
.pic {
float: left;
padding-right: 5px;
}
}
a.files-see {

View File

@ -32,7 +32,7 @@
.name= link_to(entry.name, tree_path(@project, @treeish, entry_path), :class => 'files-see')
= render 'commit_info', :commit => commit
- commit = @project.tree_info(@project.repo.tree(@treeish), @treeish, nil).detect{ |e, c| e.name == '.gitmodules' && c }.last
- commit = @project.tree_info(@project.repo.tree(@treeish), @treeish, nil).detect{ |e, c| e.name == '.gitmodules' && c }.try(:last)
- if commit
- Grit::Submodule.config(@project.repo).each do |name, options|
- folder = options['path'].split('/').last