فهرست منبع

table price styles

alexlcdee 8 سال پیش
والد
کامیت
076eaa207c
3فایلهای تغییر یافته به همراه11 افزوده شده و 8 حذف شده
  1. 8 6
      src/files/css/main.css
  2. 0 0
      src/files/css/main.css.map
  3. 3 2
      src/files/scss/_tags.scss

+ 8 - 6
src/files/css/main.css

@@ -8807,12 +8807,14 @@ footer .copyright .logo {
   .text-page__text table p, .special-page__article table p, .full-news__text table p, .text-page__text table h1, .special-page__article table h1, .full-news__text table h1, .text-page__text table h2, .special-page__article table h2, .full-news__text table h2, .text-page__text table h3, .special-page__article table h3, .full-news__text table h3, .text-page__text table h4, .special-page__article table h4, .full-news__text table h4, .text-page__text table h5, .special-page__article table h5, .full-news__text table h5, .text-page__text table h6, .special-page__article table h6, .full-news__text table h6 {
     margin: 0;
     padding: 0; }
-  .text-page__text table.table-price th:nth-child(1), .special-page__article table.table-price th:nth-child(1), .full-news__text table.table-price th:nth-child(1), .text-page__text table.table-price td:nth-child(1), .special-page__article table.table-price td:nth-child(1), .full-news__text table.table-price td:nth-child(1) {
-    width: 65%;
-    text-align: left; }
-  .text-page__text table.table-price th:nth-child(2), .special-page__article table.table-price th:nth-child(2), .full-news__text table.table-price th:nth-child(2), .text-page__text table.table-price td:nth-child(2), .special-page__article table.table-price td:nth-child(2), .full-news__text table.table-price td:nth-child(2) {
-    width: 35%;
-    text-align: right; }
+  .text-page__text table.table-price, .special-page__article table.table-price, .full-news__text table.table-price {
+    table-layout: fixed; }
+    .text-page__text table.table-price th:nth-child(1), .special-page__article table.table-price th:nth-child(1), .full-news__text table.table-price th:nth-child(1), .text-page__text table.table-price td:nth-child(1), .special-page__article table.table-price td:nth-child(1), .full-news__text table.table-price td:nth-child(1) {
+      width: 70%;
+      text-align: left; }
+    .text-page__text table.table-price th:nth-child(2), .special-page__article table.table-price th:nth-child(2), .full-news__text table.table-price th:nth-child(2), .text-page__text table.table-price td:nth-child(2), .special-page__article table.table-price td:nth-child(2), .full-news__text table.table-price td:nth-child(2) {
+      width: 30%;
+      text-align: right; }
 
 .text-page__text blockquote, .special-page__article blockquote, .full-news__text blockquote {
   padding: 5px 25px 5px 60px;

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
src/files/css/main.css.map


+ 3 - 2
src/files/scss/_tags.scss

@@ -141,13 +141,14 @@
 
     &.table-price {
         // Assume table with class "price" is two-col table with "name"=>"price" structure
+        table-layout: fixed;
         th, td {
             &:nth-child(1) {
-                width: 65%;
+                width: 70%;
                 text-align: left;
             }
             &:nth-child(2) {
-                width: 35%;
+                width: 30%;
                 text-align: right;
             }
         }

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است