mirror of
https://github.com/discourse/discourse.git
synced 2025-03-26 15:06:40 +08:00
Improve mobile friendliness of crawler view
This commit is contained in:
parent
05beaa7f45
commit
864fb45ff0
@ -27,6 +27,36 @@ body.crawler {
|
||||
|
||||
.topic-list {
|
||||
margin-bottom: 1em;
|
||||
@media (max-width: 850px) {
|
||||
td {
|
||||
word-break: break-all;
|
||||
&.posters {
|
||||
a:not(:last-of-type) {
|
||||
display: none;
|
||||
}
|
||||
a:last-of-type {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
&.views {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.link-top-line {
|
||||
a.title {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.link-bottom-line {
|
||||
margin-top: 0.25em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
|
@ -47,8 +47,8 @@
|
||||
<tr>
|
||||
<th><%= t 'js.topic.title' %></th>
|
||||
<th></th>
|
||||
<th><%= t 'js.replies' %></th>
|
||||
<th><%= t 'js.views' %></th>
|
||||
<th class="replies"><%= t 'js.replies' %></th>
|
||||
<th class="views"><%= t 'js.views' %></th>
|
||||
<th><%= t 'js.activity' %></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -101,10 +101,10 @@
|
||||
<% end %>
|
||||
<% end %>
|
||||
</td>
|
||||
<td>
|
||||
<td class="replies">
|
||||
<span class='posts' title='<%= t 'posts' %>'><%= t.posts_count %></span>
|
||||
</td>
|
||||
<td>
|
||||
<td class="views">
|
||||
<span class='views' title='<%= t 'views' %>'><%= t.views %></span>
|
||||
</td>
|
||||
<td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user