forked from e621ng/e621ng
[Admin] Fix formatting of first edit history
This commit is contained in:
parent
2620ea983e
commit
b1e41b1e94
@ -4,4 +4,8 @@
|
||||
grid-template-columns: auto 1fr;
|
||||
column-gap: 1em;
|
||||
}
|
||||
|
||||
.original {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,7 @@
|
||||
<% if edit.version > 1 %>
|
||||
<%= text_diff(@edits[idx-1].body, edit.body) %>
|
||||
<% else %>
|
||||
<%= edit.body %>
|
||||
<div class="original"><%= edit.body %></div>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user