Skip to content

Commit 572389f

Browse files
committed
Remove purple letter on Topic list
It wasn't clear to me what it meant when I saw it. Since it is not some kind of code to help idenfity a certain category of topic, I think it is best to remove it to avoid confusion and leave more space for the title.
1 parent e9c5a4c commit 572389f

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

app/views/topics/_list.html.erb

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,9 @@
44
<tr style="border-bottom: 1px solid #f1f5f9; transition: all 0.2s;" onmouseover="this.style.backgroundColor='#f8fafc'" onmouseout="this.style.backgroundColor='white'">
55
<!-- Title -->
66
<td style="padding: 1.25rem 1.5rem;">
7-
<div style="display: flex; align-items: center; gap: 0.75rem;">
8-
<div style="width: 2.25rem; height: 2.25rem; background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%); border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; color: white; font-weight: 600; font-size: 0.875rem;">
9-
<%= topic.title.first.upcase %>
10-
</div>
11-
<div>
12-
<div style="font-weight: 600; color: #111827; font-size: 0.95rem;"><%= topic.title %></div>
13-
<div style="color: #6b7280; font-size: 0.75rem;">Published <%= topic.published_at&.strftime('%b %d, %Y') %></div>
14-
</div>
7+
<div style="display: flex; flex-direction: column; align-items: center; gap: 0.25rem;">
8+
<div style="font-weight: 600; color: #111827; font-size: 0.95rem;"><%= topic.title %></div>
9+
<div style="color: #6b7280; font-size: 0.75rem;">Published <%= topic.published_at&.strftime('%b %d, %Y') %></div>
1510
</div>
1611
</td>
1712

0 commit comments

Comments
 (0)