diff --git a/public/css/modal.css b/public/css/modal.css index 7a421f3..df45ebb 100644 --- a/public/css/modal.css +++ b/public/css/modal.css @@ -55,6 +55,8 @@ .modal-foot { padding: 14px 24px 22px; border-top: 1px solid var(--divider); margin-top: 6px; background: var(--bg-soft); } .reply-banner { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; background: var(--accent-bg); border: 1px solid var(--accent-bd); border-radius: 7px; padding: 6px 10px; } +/* hidden 속성이 켜져 있으면 확실히 숨긴다 (display:flex 가 [hidden] 기본 규칙을 이겨 항상 보이던 버그 방지). */ +.reply-banner[hidden] { display: none; } .reply-banner span { font-size: 12px; color: var(--accent-strong); } .reply-banner button { background: transparent; border: 0; cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 600; color: var(--link); } .comment-form { display: flex; gap: 10px; align-items: flex-end; } diff --git a/views/_project_detail.ejs b/views/_project_detail.ejs index be41508..2e659e5 100644 --- a/views/_project_detail.ejs +++ b/views/_project_detail.ejs @@ -24,7 +24,7 @@ @@ -72,13 +72,13 @@ <%- identicon(c.author_sabun, 28) %>
- <%= c.author_sabun %> + <%= c.author_name || c.author_sabun %> <%= reltime(c.created_at) %> <% if (isLgtm(c.body)) { %><%- icon("check", { size: 11 }) %>LGTM<% } %>
<%= c.body %>
- + <% if (c.author_sabun === me) { %>
@@ -95,7 +95,7 @@ <%- identicon(r.author_sabun, 24) %>
- <%= r.author_sabun %> + <%= r.author_name || r.author_sabun %> <%= reltime(r.created_at) %> <% if (isLgtm(r.body)) { %><%- icon("check", { size: 11 }) %>LGTM<% } %>
diff --git a/views/dashboard.ejs b/views/dashboard.ejs index 1a0ffdc..c633338 100644 --- a/views/dashboard.ejs +++ b/views/dashboard.ejs @@ -160,7 +160,7 @@
<%- identicon(p.owner_sabun, 22) %> - <%= p.owner_sabun %> + <%= p.owner_name || p.owner_sabun %> · <%= fdate(p.created_at) %>