Kaynağa Gözat

text alignment with responsive type elements

George S. Baugh 5 yıl önce
ebeveyn
işleme
24770143ac
3 değiştirilmiş dosya ile 8 ekleme ve 1 silme
  1. 3 0
      www/styles/screen.css
  2. 4 0
      www/styles/structure.css
  3. 1 1
      www/templates/posts.tx

+ 3 - 0
www/styles/screen.css

@@ -392,6 +392,9 @@ p.posteditortitle {
     width: 100%;
     height: 10rem;
   }
+  .responsive-text {
+    width:100%;
+  }
 }
 
 /* For tcms Advert */

+ 4 - 0
www/styles/structure.css

@@ -99,6 +99,10 @@ blockquote {
     width: 35rem;
     height: 20rem;
 }
+.responsive-text {
+    width: 35rem;
+}
+
 .square {
     width: 20rem;
     height: 20rem;

+ 1 - 1
www/templates/posts.tx

@@ -96,7 +96,7 @@
             : }
             : if( $post.data ) {
                 : if ($post.is_video || $post.is_image) {
-                <div id="postData" class="responsive">
+                <div id="postData" class="responsive-text">
                 : } else {
                 <div id="postData">
                 : }