Commit e5de3f8119371693d00d5e0380ec0a93f61fe357

Font-size tweak on dashboard

Commit diff

app/views/site/dashboard.html.erb

 
33<div id="recent_comments">
44 <h2>Recent comments on your commits</h2>
55 <% @recent_comments.each do |comment| -%>
6 <div class="comment">
7 <div class="body"><%= simple_format(sanitize(comment.body)) -%></div>
6 <div class="comment excerpt">
87 <p class="byline hint">
9 on <%= link_to h(comment.repository.name), project_repository_comments_path(comment.project, comment.repository, :anchor => dom_id(comment)) -%>
8 <%= link_to(h(comment.user.login), comment.user) -%>
9 on <%= link_to h(comment.project.title), comment.project -%>/<%= link_to h(comment.repository.name), project_repository_comments_path(comment.project, comment.repository, :anchor => dom_id(comment)) -%>
1010 <% unless comment.sha1.blank? -%>
1111 (<%= link_to h(comment.sha1[0..6]), project_repository_commit_path(comment.project, comment.repository, comment.sha1) -%>)
1212 <% end -%>
13 in <%= link_to h(comment.project.title), comment.project -%> by
14 <%= link_to(h(comment.user.login), comment.user) -%>
13 </p>
14 <p class="body"><%= truncate(strip_tags(comment.body), 65) -%></p>
15 <p class="byline hint">
1516 <%= time_ago_in_words(comment.created_at) -%> ago
1617 </p>
1718 </div>
2323</div>
2424
2525<div id="clone_list">
26 <h2>Clones of your project repositories</h2>
26 <h2>Activity in clones of your projects</h2>
2727 <ul>
2828 <% @repository_clones.each do |repos| -%>
2929 <li class="repos">
toggle raw diff

public/stylesheets/base.css

 
668668
669669div.comment {
670670 border-bottom: 1px solid #ccc;
671 margin-bottom: 1em;
671 margin-bottom: 10px;
672 padding-bottom: 10px;
672673 width: 63%;
673674}
674675div.comment .body {
677677}
678678
679679p.byline {
680 font-size: 85%;
680 font-size: 10px;
681681}
682682
683683.hint {
864864 padding-right: 10px;
865865 border-right: 1px dotted #dedede;
866866}
867#site #recent_comments p { margin-bottom: 0; }
867868#site #recent_comments .comment { width: 100%;}
868869#site #recent_comments .comment .body {
869 font-size: 90%;
870 font-size: 12px;
870871}
871872
872873#site #clone_list {
toggle raw diff