Commit 290b2527af5b2bb4002d64ff445039a50e51bad6
1 parent
d5237e48
-Style fixes
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
common/models/Articles.php
@@ -72,7 +72,7 @@ class Articles extends \yii\db\ActiveRecord | @@ -72,7 +72,7 @@ class Articles extends \yii\db\ActiveRecord | ||
72 | [['title', 'body'], 'required'], | 72 | [['title', 'body'], 'required'], |
73 | [['body', 'body_preview', 'seo_text'], 'string'], | 73 | [['body', 'body_preview', 'seo_text'], 'string'], |
74 | [['title', 'translit', 'meta_title', 'meta_keywords', 'meta_description', 'h1'], 'string', 'max' => 255], | 74 | [['title', 'translit', 'meta_title', 'meta_keywords', 'meta_description', 'h1'], 'string', 'max' => 255], |
75 | - [['date', 'date_end'], 'filter', 'filter' => function($value) { | 75 | + [['date'], 'filter', 'filter' => function($value) { |
76 | return strtotime($value)?:time(); | 76 | return strtotime($value)?:time(); |
77 | }], | 77 | }], |
78 | ]; | 78 | ]; |
frontend/web/css/style.css
@@ -100,7 +100,7 @@ header a.main:hover{ | @@ -100,7 +100,7 @@ header a.main:hover{ | ||
100 | padding:0; | 100 | padding:0; |
101 | text-align: center; | 101 | text-align: center; |
102 | /*width: 14%;*/ | 102 | /*width: 14%;*/ |
103 | - /*min-width: 130px;*/ | 103 | + min-width: 76px; |
104 | max-width: 8.5%; | 104 | max-width: 8.5%; |
105 | } | 105 | } |
106 | .menu li a:after { | 106 | .menu li a:after { |
@@ -496,7 +496,7 @@ footer .socbuts a:hover{ | @@ -496,7 +496,7 @@ footer .socbuts a:hover{ | ||
496 | align-content: center; | 496 | align-content: center; |
497 | } | 497 | } |
498 | .post_cont .text{ | 498 | .post_cont .text{ |
499 | - width: 355px; | 499 | + width: 320px; |
500 | margin: 0 20px; | 500 | margin: 0 20px; |
501 | margin-right:0; | 501 | margin-right:0; |
502 | color: #838383; | 502 | color: #838383; |