Skip to content

Commit 9357b3e

Browse files
committed
a text align and a padding
1 parent 0430c6a commit 9357b3e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

public/stylesheets/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,10 @@ a.light:hover {
212212
display: inline-block;
213213
height: 14px;
214214
line-height: 14px;
215+
vertical-align: middle;
216+
}
217+
.cell.more{
218+
padding: 10px;
215219
}
216220
.last_time {
217221
position: absolute;

views/user/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
</div>
8181
<% if (locals.recent_topics && recent_topics.length > 0) { %>
8282
<%- partial('topic/abstract', { collection: recent_topics, as: 'topic' }) %>
83-
<div class='cell'>
83+
<div class='cell more'>
8484
<a class='dark' href="/user/<%= user.name %>/topics">查看更多»</a>
8585
</div>
8686
<% } else { %>
@@ -96,7 +96,7 @@
9696
</div>
9797
<% if (locals.recent_replies && recent_replies.length > 0) { %>
9898
<%- partial('topic/abstract', { collection: recent_replies, as: 'topic' }) %>
99-
<div class='cell'>
99+
<div class='cell more'>
100100
<a class='dark' href="/user/<%= user.name %>/replies">查看更多»</a>
101101
</div>
102102
<% } else { %>

0 commit comments

Comments
 (0)