Commit 290b2527af5b2bb4002d64ff445039a50e51bad6

Authored by Alexey Boroda
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 72 [['title', 'body'], 'required'],
73 73 [['body', 'body_preview', 'seo_text'], 'string'],
74 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 76 return strtotime($value)?:time();
77 77 }],
78 78 ];
... ...
frontend/web/css/style.css
... ... @@ -100,7 +100,7 @@ header a.main:hover{
100 100 padding:0;
101 101 text-align: center;
102 102 /*width: 14%;*/
103   - /*min-width: 130px;*/
  103 + min-width: 76px;
104 104 max-width: 8.5%;
105 105 }
106 106 .menu li a:after {
... ... @@ -496,7 +496,7 @@ footer .socbuts a:hover{
496 496 align-content: center;
497 497 }
498 498 .post_cont .text{
499   - width: 355px;
  499 + width: 320px;
500 500 margin: 0 20px;
501 501 margin-right:0;
502 502 color: #838383;
... ...