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 202eb2b..bd8a1a2 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 12aa1df..f2cfa13 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 38a6cce..81532f9 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 -->