Wrap text if too long in mobile notifications
Conflicts: Changelog.md
This commit is contained in:
parent
bfa8b92c57
commit
5d46baf33e
3 changed files with 14 additions and 6 deletions
|
|
@ -10,6 +10,7 @@
|
||||||
* Include our custom fileuploader on the mobile site too. [#3994](https://github.com/diaspora/diaspora/pull/3994)
|
* Include our custom fileuploader on the mobile site too. [#3994](https://github.com/diaspora/diaspora/pull/3994)
|
||||||
* Move custom splash page logic into the controller [#3991](https://github.com/diaspora/diaspora/issues/3991)
|
* Move custom splash page logic into the controller [#3991](https://github.com/diaspora/diaspora/issues/3991)
|
||||||
* Fixed removing images from publisher on the profile and tags pages. [#3995](https://github.com/diaspora/diaspora/pull/3995)
|
* Fixed removing images from publisher on the profile and tags pages. [#3995](https://github.com/diaspora/diaspora/pull/3995)
|
||||||
|
* Wrap text if too long in mobile notifications. [#3990](https://github.com/diaspora/diaspora/pull/3990)
|
||||||
|
|
||||||
# 0.0.3.0
|
# 0.0.3.0
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -50,9 +50,13 @@ body {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
height: 45px;
|
word-wrap: break-word;
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
.time_notif {
|
||||||
|
font-weight: normal;
|
||||||
|
float: right;
|
||||||
|
padding-right: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
> .content,
|
> .content,
|
||||||
|
|
@ -165,6 +169,10 @@ body {
|
||||||
#main_stream {
|
#main_stream {
|
||||||
margin-left: -10px;
|
margin-left: -10px;
|
||||||
margin-right: -10px;
|
margin-right: -10px;
|
||||||
|
.from {
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.more-link {
|
.more-link {
|
||||||
|
|
|
||||||
|
|
@ -13,12 +13,11 @@
|
||||||
%ul.notifications_for_day
|
%ul.notifications_for_day
|
||||||
- notes.each do |note|
|
- notes.each do |note|
|
||||||
.stream_element{:data=>{:guid => note.id}, :class => "#{note.unread ? 'unread' : 'read'}"}
|
.stream_element{:data=>{:guid => note.id}, :class => "#{note.unread ? 'unread' : 'read'}"}
|
||||||
|
|
||||||
.content
|
.content
|
||||||
=person_image_link(note.actors.last)
|
=person_image_link(note.actors.last)
|
||||||
%span.from
|
.from
|
||||||
= notification_message_for(note)
|
= notification_message_for(note)
|
||||||
.time
|
.time_notif
|
||||||
= time_ago_in_words(note.created_at)
|
= time_ago_in_words(note.created_at)
|
||||||
|
|
||||||
= will_paginate @notifications, :renderer => WillPaginate::ActionView::BootstrapLinkRenderer
|
= will_paginate @notifications, :renderer => WillPaginate::ActionView::BootstrapLinkRenderer
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue