css: replace more css with tailwind-style classes.
This commit is contained in:
@@ -21,28 +21,28 @@
|
||||
<% end %>
|
||||
|
||||
<% if forum_topic_status(topic).present? %>
|
||||
<%= link_to topic.pretty_title, forum_topic_path(topic), class: "forum-post-link" %>
|
||||
<%= link_to topic.pretty_title, forum_topic_path(topic), class: "forum-post-link break-words" %>
|
||||
<% else %>
|
||||
<%= link_to topic.title, forum_topic_path(topic), class: "forum-post-link" %>
|
||||
<%= link_to topic.title, forum_topic_path(topic), class: "forum-post-link break-words" %>
|
||||
<% end %>
|
||||
|
||||
<% if topic.response_count > Danbooru.config.posts_per_page %>
|
||||
<%= link_to "page #{topic.last_page}", forum_topic_path(topic, :page => topic.last_page), :class => "last-page" %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% t.column "Status", width: "1%" do |topic| %>
|
||||
<% t.column "Status", width: "1%", td: { class: "whitespace-nowrap text-right" } do |topic| %>
|
||||
<% status = forum_topic_status(topic) %>
|
||||
<% if status.present? %>
|
||||
<%= link_to status, forum_topics_path(search: { status: status }), class: "topic-status label #{status}" %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% t.column "Creator", width: "8%" do |topic| %>
|
||||
<% t.column "Creator", width: "8%", th: { class: "desktop-only"}, td: { class: "whitespace-nowrap desktop-only" } do |topic| %>
|
||||
<%= link_to_user topic.creator %>
|
||||
<% end %>
|
||||
<% t.column "Updated by", width: "8%" do |topic| %>
|
||||
<% t.column "Updated by", width: "8%", th: { class: "desktop-only"}, td: { class: "whitespace-nowrap desktop-only" } do |topic| %>
|
||||
<%= link_to_user topic.updater %>
|
||||
<% end %>
|
||||
<% t.column "Updated at", width: "8%" do |topic| %>
|
||||
<% t.column "Updated at", width: "8%", th: { class: "desktop-only"}, td: { class: "whitespace-nowrap desktop-only" } do |topic| %>
|
||||
<%= compact_time topic.updated_at %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user