Unverified Commit 02ad431f authored by Steffen van Bergerem's avatar Steffen van Bergerem Committed by Dennis Schubert
Browse files

Fix conversations message overflow when posting code

parent c3de77e0
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -9,6 +9,7 @@
## Bug fixes
## Bug fixes
* Post comments no longer get collapsed when interacting with a post [#7040](https://github.com/diaspora/diaspora/pull/7040)
* Post comments no longer get collapsed when interacting with a post [#7040](https://github.com/diaspora/diaspora/pull/7040)
* Closed accounts will no longer show up in the account search [#7042](https://github.com/diaspora/diaspora/pull/7042)
* Closed accounts will no longer show up in the account search [#7042](https://github.com/diaspora/diaspora/pull/7042)
* Code blocks in conversations no longer overflow the content [#7055](https://github.com/diaspora/diaspora/pull/7055)


## Features
## Features
* Deleted comments will be removed when loading more comments [#7045](https://github.com/diaspora/diaspora/pull/7045)
* Deleted comments will be removed when loading more comments [#7045](https://github.com/diaspora/diaspora/pull/7045)
+10 −0
Original line number Original line Diff line number Diff line
.stream_element.message{data: {guid: message.id}, id: ("first_unread" if @first_unread_message_id == message.id)}
  .media
    = person_image_link(message.author, size: :thumb_small, class: "img")
    .bd
      = person_link(message.author, class: "author from")
      = timeago(message.created_at)

      %div{class: direction_for(message.text)}
        .message-content
          = message.message.markdownified
+2 −6
Original line number Original line Diff line number Diff line
-#   Copyright (c) 2010-2011, Diaspora Inc.  This file is
-#   licensed under the Affero General Public License version 3 or later.  See
-#   the COPYRIGHT file.

.stream_element.message{data: {guid: message.id}, id: ("first_unread" if @first_unread_message_id == message.id)}
.stream_element.message{data: {guid: message.id}, id: ("first_unread" if @first_unread_message_id == message.id)}
  .media
  .media
    .media-left
    .media-left
      = person_image_link(message.author, size: :thumb_small, class: "media-object")
      = person_image_link(message.author, size: :thumb_small, class: "media-object")
    .media-body
    .media-body
      = person_link(message.author, :class => 'author from')
      = person_link(message.author, class: "author from")
      = timeago(message.created_at)
      = timeago(message.created_at)


      %div{ :class => direction_for(message.text) }
      %div{class: direction_for(message.text)}
        .message-content
        .message-content
          = message.message.markdownified
          = message.message.markdownified