Browse Source

Fix CSS text wrapping on some floats and fixed positioned elements

Markus Ochel 12 năm trước cách đây
mục cha
commit
67463af0bf
2 tập tin đã thay đổi với 10 bổ sung0 xóa
  1. 6 0
      admin/static/css/theme.styl
  2. 4 0
      site/static/css/theme.styl

+ 6 - 0
admin/static/css/theme.styl

@@ -363,6 +363,7 @@ span.label
         font-size: 0.5em
         font-weight: 300
         margin-left: 0.5em
+        white-space: nowrap
 
       .count
         cursor: pointer
@@ -431,6 +432,7 @@ span.label
           font-size: 1.5em
           line-height: 1.3em
           color: $lightGrey
+          white-space: nowrap
 
           > div
             display: inline-block
@@ -473,6 +475,9 @@ span.label
           font-size: 0.8em
           margin-bottom: 0.5em
 
+        .link-form
+          margin-bottom: 0.5em
+
         input[type='text'],
         input[type='search'],
         textarea,
@@ -671,6 +676,7 @@ span.label
 
       .count
         float: right
+        white-space: nowrap
 
     > ul.list
       margin-bottom: 2em

+ 4 - 0
site/static/css/theme.styl

@@ -236,6 +236,8 @@
   position: fixed
   top: 50%
   right: 5%
+  white-space: nowrap
+
   > div
     display: inline-block
     font-size: 4em
@@ -473,6 +475,7 @@ article
         float: right
         padding: 5px 10px
         color: $lightGrey
+        white-space: nowrap
 
         &.fresh-true
           display: block
@@ -602,6 +605,7 @@ footer
   .social-icons
     float: right
     margin: 0 0 1em 1em
+    white-space: nowrap
 
     a
       display: inline-block