Fixed margins in article view
authorMarcel Werk <burntime@woltlab.com>
Fri, 17 Nov 2017 11:33:40 +0000 (12:33 +0100)
committerMarcel Werk <burntime@woltlab.com>
Fri, 17 Nov 2017 11:33:40 +0000 (12:33 +0100)
com.woltlab.wcf/templates/article.tpl
wcfsetup/install/files/style/ui/article.scss

index f084874247495853e77734601f4466b553ac521a..bb21e7595f5363b695ccd76734289c160bcc181d 100644 (file)
                </div>
                
                {if !$tags|empty}
-                       <ul class="tagList articleTagList section">
+                       <ul class="tagList articleTagList">
                                {foreach from=$tags item=tag}
                                        <li><a href="{link controller='Tagged' object=$tag}objectType=com.woltlab.wcf.article{/link}" class="tag">{$tag->name}</a></li>
                                {/foreach}
                        </ul>
                {/if}
                
-               <div class="section row articleLikeSection">
+               <div class="row articleLikeSection">
                        <div class="col-xs-12 col-md-6">
                                <div class="articleLikesSummery"></div>
                        </div>
index 7ab337af433e5bfdc9d07f633f05a1ff2b314587..755ac90138aa59a38d8fd21476089ef0eabf9d1a 100644 (file)
@@ -32,8 +32,7 @@
                margin-bottom: 20px;
        }
        
-       .articleTagList,
-       .articleLikeSection {
+       .articleTagList {
                margin-top: 20px;
        }
        
                        display: inline;
                }
        }
+       
+       .articleLikesSummery:not(:empty),
+       .articleLikeButtons:not(:empty) {
+               margin-top: 20px;
+       }
 }
 
 .articleAboutAuthor {