Merge pull request #1939 from everplays/css-rtl
fixed html markup which broke applied direction
This commit is contained in:
commit
523d565dd5
4 changed files with 5 additions and 3 deletions
|
|
@ -14,6 +14,6 @@
|
|||
.content
|
||||
.from
|
||||
= person_link(comment.author)
|
||||
%p{ :class => direction_for(comment.text) }
|
||||
%div{ :class => direction_for(comment.text) }
|
||||
= markdownify(comment, :youtube_maps => comment[:youtube_titles])
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,6 @@
|
|||
%time.timeago{:datetime => message.created_at}
|
||||
= how_long_ago(message)
|
||||
|
||||
%p{ :class => direction_for(message.text) }
|
||||
%div{ :class => direction_for(message.text) }
|
||||
= markdownify(message)
|
||||
|
||||
|
|
|
|||
|
|
@ -15,5 +15,5 @@
|
|||
- for photo in photos[1..photos.size]
|
||||
= link_to (image_tag photo.url(:thumb_small), :class => 'stream-photo thumb_small', 'data-small-photo' => photo.url(:thumb_medium), 'data-full-photo' => photo.url), photo_path(photo), :class => 'stream-photo-link'
|
||||
|
||||
%p{:class => direction_for(post.text)}
|
||||
%div{:class => direction_for(post.text)}
|
||||
!= markdownify(post, :youtube_maps => post[:youtube_titles])
|
||||
|
|
|
|||
|
|
@ -256,3 +256,5 @@ ul.left_nav .contact_count, ul.left_nav .edit
|
|||
:float left
|
||||
:margin-right 10px
|
||||
|
||||
div.content span.rtl
|
||||
:display block
|
||||
|
|
|
|||
Loading…
Reference in a new issue