]> git.mxchange.org Git - friendica.git/commitdiff
Improve display of post header reshare mention
authorHypolite Petovan <hypolite@mrpetovan.com>
Wed, 9 Sep 2020 15:41:23 +0000 (11:41 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Wed, 9 Sep 2020 15:41:23 +0000 (11:41 -0400)
- Fix typo in class name
- Add bottom margin with a p tag
- Distinguish reshare header style from reshare footer style

view/templates/wall_thread.tpl
view/theme/frio/css/style.css
view/theme/frio/templates/wall_thread.tpl

index 202eb2b619b775d72e22215d528f0a804021b801..bd8a1a2309943d777b092b810d0765b372b7a90a 100644 (file)
@@ -20,9 +20,9 @@
 <a name="{{$item.id}}" ></a>
 <div class="wall-item-outside-wrapper {{$item.indent}}{{$item.previewing}}{{if $item.owner_url}} wallwall{{/if}}" id="wall-item-outside-wrapper-{{$item.id}}" >
        <div class="wall-item-content-wrapper {{$item.indent}} {{$item.shiny}}" id="wall-item-content-wrapper-{{$item.id}}" >
-               {{if $item.reshared}}
-                       <div class="wall-item-ammounce wall-item-responses" id="wall-item-ammounce-{{$item.id}}">{{$item.reshared nofilter}}</div>
-               {{/if}}
+       {{if $item.reshared}}
+               <p class="wall-item-announce wall-item-responses" id="wall-item-announce-{{$item.id}}">{{$item.reshared nofilter}}</p>
+       {{/if}}
                <div class="wall-item-info{{if $item.owner_url}} wallwall{{/if}}" id="wall-item-info-{{$item.id}}">
                        {{if $item.owner_url}}
                        <div class="wall-item-photo-wrapper wwto" id="wall-item-ownerphoto-wrapper-{{$item.id}}" >
index 12aa1df8524a252c578fdf9116f873f5c75de32a..f2cfa13dc5d7ab4ee3a07d76fed27a2f2be080c5 100644 (file)
@@ -1985,7 +1985,7 @@ ul.dropdown-menu li:hover {
 }
 
 /* Media Classes */
-.wall-item-ammounce,
+p.wall-item-announce,
 .media .time,
 .media .shared-time,
 .media .delivery,
index 38a6cce2b160bfc67653a11224da8fc6fdd191fd..81532f943ca9b988482624201697af1d6bae3744 100644 (file)
@@ -82,7 +82,7 @@ as the value of $top_child_total (this is done at the end of this file)
 {{/if}}
        <div class="media {{$item.shiny}}">
        {{if $item.reshared}}
-               <div class="wall-item-ammounce wall-item-responses" id="wall-item-ammounce-{{$item.id}}"><i class="fa fa-retweet" aria-hidden="true"></i> {{$item.reshared nofilter}}</div>
+               <p class="wall-item-announce wall-item-responses" id="wall-item-announce-{{$item.id}}"><i class="fa fa-retweet" aria-hidden="true"></i> {{$item.reshared nofilter}}</p>
        {{/if}}
                {{* The avatar picture and the photo-menu *}}
                <div class="dropdown pull-left"><!-- Dropdown -->