diff --git a/common/models/Articles.php b/common/models/Articles.php index b6649fe..4bc0b09 100755 --- a/common/models/Articles.php +++ b/common/models/Articles.php @@ -72,7 +72,7 @@ class Articles extends \yii\db\ActiveRecord [['title', 'body'], 'required'], [['body', 'body_preview', 'seo_text'], 'string'], [['title', 'translit', 'meta_title', 'meta_keywords', 'meta_description', 'h1'], 'string', 'max' => 255], - [['date', 'date_end'], 'filter', 'filter' => function($value) { + [['date'], 'filter', 'filter' => function($value) { return strtotime($value)?:time(); }], ]; diff --git a/frontend/web/css/style.css b/frontend/web/css/style.css index 12272ee..efffe94 100755 --- a/frontend/web/css/style.css +++ b/frontend/web/css/style.css @@ -100,7 +100,7 @@ header a.main:hover{ padding:0; text-align: center; /*width: 14%;*/ - /*min-width: 130px;*/ + min-width: 76px; max-width: 8.5%; } .menu li a:after { @@ -496,7 +496,7 @@ footer .socbuts a:hover{ align-content: center; } .post_cont .text{ - width: 355px; + width: 320px; margin: 0 20px; margin-right:0; color: #838383; -- libgit2 0.21.4