Browse Source

Fix weird size of the "fa fa-lock" icon.

sh4nks 9 years ago
parent
commit
d11404ccea

+ 8 - 2
flaskbb/themes/aurora/src/flaskbb.scss

@@ -170,8 +170,14 @@ body {
             position: relative;
             .topic-status {
                 float: left;
-                font-size: 2em;
-                padding-right: 0.75em;
+                font-size: 1.5em;
+                padding-right: 0.5em;
+
+                // why is this?
+                .topic-locked {
+                    font-size: 1.5em;
+                }
+
             }
             .topic-name {
                 font-weight: bold;

+ 4 - 2
flaskbb/themes/aurora/static/css/flaskbb.css

@@ -113,8 +113,10 @@ body {
   position: relative; }
   .forum-body .forum-row .topic-info .topic-status {
     float: left;
-    font-size: 2em;
-    padding-right: 0.75em; }
+    font-size: 1.5em;
+    padding-right: 0.5em; }
+    .forum-body .forum-row .topic-info .topic-status .topic-locked {
+      font-size: 1.5em; }
   .forum-body .forum-row .topic-info .topic-name {
     font-weight: bold; }
   .forum-body .forum-row .topic-info .topic-pages {

+ 7 - 5
flaskbb/themes/aurora/templates/forum/edit_forum.html

@@ -36,7 +36,7 @@
                 </div>
 
                 {% for topic, topicread in topics.items %}
-                <div class="row forum-row">
+                <div class="row forum-row clearfix">
 
                     <div class="col-md-4 col-sm-4 col-xs-6 topic-info">
 
@@ -51,9 +51,9 @@
                             {% endif %}
                         {% else %}
                             {% if topic|topic_is_unread(topicread, current_user, forumsread) %}
-                                <span class="fa fa-comment topic-unread" style="font-size: 2em"></span>
+                                <span class="fa fa-comment topic-unread"></span>
                             {% else %}
-                                <span class="fa fa-comment-o topic-read" style="font-size: 2em"></span>
+                                <span class="fa fa-comment-o topic-read"></span>
                             {% endif %}
                         {% endif %}
                         </div>
@@ -100,8 +100,10 @@
                     </div>
                 </div>
                 {% else %}
-                <div class="row forum-row">
-                    {% trans %}No Topics.{% endtrans %}
+                <div class="row forum-row clearfix">
+                    <div class="col-md-12 col-sm-12 col-xs-12">
+                        {% trans %}No Topics.{% endtrans %}
+                    </div>
                 </div> <!-- end forum-row -->
                 {% endfor %}
             </div>