Fix conversations message overflow when posting code

Related issue: https://github.com/twbs/bootstrap/issues/15958

closes #7055
This commit is contained in:
Steffen van Bergerem 2016-09-03 21:50:21 +02:00 committed by Dennis Schubert
parent c3de77e0fc
commit 02ad431fb0
No known key found for this signature in database
GPG key ID: 5A0304BEA7966D7E
3 changed files with 13 additions and 6 deletions

View file

@ -9,6 +9,7 @@
## Bug fixes
* 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)
* Code blocks in conversations no longer overflow the content [#7055](https://github.com/diaspora/diaspora/pull/7055)
## Features
* Deleted comments will be removed when loading more comments [#7045](https://github.com/diaspora/diaspora/pull/7045)

View file

@ -0,0 +1,10 @@
.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

View file

@ -1,15 +1,11 @@
-# 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)}
.media
.media-left
= person_image_link(message.author, size: :thumb_small, class: "media-object")
.media-body
= person_link(message.author, :class => 'author from')
= person_link(message.author, class: "author from")
= timeago(message.created_at)
%div{ :class => direction_for(message.text) }
%div{class: direction_for(message.text)}
.message-content
= message.message.markdownified