Commit 4244f9ff48bbe7930b0915f2efab27ec940581f0

Authored by Eugeny Galkovskiy
1 parent 2d78b9d3

comment styles 2

Showing 2 changed files with 1 additions and 8 deletions   Show diff stats
frontend/views/blog/view.php
... ... @@ -63,14 +63,6 @@
63 63 <div class="panel-heading">
64 64 <h3 class="panel-title">Оставить комментарий</h3>
65 65 </div>
66   - <style>
67   - .form-group.input_bl.field-commentmodel-username.required.has-error:after {
68   - content: 'Необходимо заполнить текст комментария';
69   - display: inline-block;
70   - margin-top: 7px;
71   - color: #dc0000;
72   - }
73   - </style>
74 66 <?= CommentWidget::widget(
75 67 [
76 68 'model' => $article,
... ...
frontend/web/css/main.css
... ... @@ -619,6 +619,7 @@ section.bar.background-gray.steps-pre:before {
619 619 padding: 0px 15px;
620 620 }
621 621 .form-comm-wr .form-group.field-commentmodel-text{width:100%;}
  622 +.has-error .help-block{display:block;}
622 623  
623 624 @media(min-width:1201px){
624 625 .links-ses-for-wr .container .row p {margin: 7px 20px;}
... ...