diff options
author | 2020-07-11 15:33:24 +0200 | |
---|---|---|
committer | 2020-07-11 15:33:24 +0200 | |
commit | 83c11c187ac2030fac1a403a628a04dcf6da35da (patch) | |
tree | 4a42f167492e20568efa593aef9cc4c279b6c279 | |
parent | Use a table for the message body instead of pre (diff) | |
download | frontend-83c11c187ac2030fac1a403a628a04dcf6da35da.tar.gz frontend-83c11c187ac2030fac1a403a628a04dcf6da35da.tar.bz2 frontend-83c11c187ac2030fac1a403a628a04dcf6da35da.zip |
Adjust the width of the line numbers column
Signed-off-by: Max Magorsch <arzano@gentoo.org>
-rw-r--r-- | views/message.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/message.erb b/views/message.erb index f7e1c89..a888d08 100644 --- a/views/message.erb +++ b/views/message.erb @@ -42,7 +42,7 @@ <% inquote = false %> <% linkize(strip_email(message['_source']['content'])).split("\n").each_with_index do |line, index| %> <tr id="L<%= index + 1 %>" class="ag-line"> - <td class="pr-3 text-right" style="line-height: 1.2;user-select: none;"><a style="font-family: monospace;font-size: 12px;" class="ag-line-number" href="#L<%= index + 1 %>"><%= index + 1 %></a></td> + <td class="pr-3 text-right" style="width:40px;line-height: 1.2;user-select: none;"><a style="font-family: monospace;font-size: 12px;" class="ag-line-number" href="#L<%= index + 1 %>"><%= index + 1 %></a></td> <% if line.start_with?('<div class="ag-quote">') %> <% inquote = true %> <td style="line-height: 1.2;font-family: monospace;font-size: 12px;color:#999"><%= line.sub('<div class="ag-quote">','') %></td> |