Skip to content

Commit

Permalink
Change date style
Browse files Browse the repository at this point in the history
  • Loading branch information
endenwer committed Apr 3, 2016
1 parent 2556bdb commit 4303c67
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
4 changes: 1 addition & 3 deletions app/views/telegram_messages/_archive_form.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<% if User.current.allowed_to?(:view_telegram_chat_archive, @issue.project) and @issue.telegram_messages.present? %>
<%= form_tag publish_issue_telegram_messages_path, class: 'archive-form' do %>
<% messages_by_date.each do |date, messages| %>
<fieldset class="message-date">
<legend><%= date %></legend>
</fieldset>
<div class="telegram-system-message"><%= date %></div>
<% messages.each do |message| %>
<%= render partial: "message", locals: { message: message } %>
<% end %>
Expand Down
11 changes: 0 additions & 11 deletions assets/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,3 @@
margin: 5px 0;
font-size: 0.85em;
}

.message-date{
border:0px;
border-top:1px solid #e4e4e4;
text-align: center;
margin: 10px 0;
}

.message-date legend{
padding: 0 10px;
}

0 comments on commit 4303c67

Please sign in to comment.