Skip to content

Commit 1644511

Browse files
committed
fix/Use lock icon on snippet show page
1 parent 0b81614 commit 1644511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/snippets/_snippet.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div style="display: flex; flex-direction: column;">
88
<div style="display: flex; justify-content: flex-end; margin-bottom: 8px; align-items: center;">
99
<% if snippet.private? %>
10-
<img class="margin-right--tiny" data-checkbox-target="icon" title="This snippet is only visible to you" src="/icons/lock-closed.svg" width="16">
10+
<%= render partial: 'shared/icons/lock_closed', locals: { height: 4, width: 4, color: 'text-yellow-500 mr-1' } %>
1111
<% end %>
1212
<div class="rounded-sm bg-gray-100 px-2 py-1 text-gray-500">
1313
<span class="block text-xs"><%= snippet.language.name %></span>

0 commit comments

Comments
 (0)