Commit cb9d2ae0efec63dddf0309b59cd9d4a401b6f23e

Authored by Hayk Nazaryan
1 parent 4d1ebefc59
Exists in master

news 'read more' button fix

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

resources/views/index.blade.php
... ... @@ -191,8 +191,8 @@
191 191 @endif
192 192 <div class="news__item-body">
193 193 <time datetime="{{ date('d.m.Y H:i:s', strtotime($new->created_at)) }}" class="news__item-date">{{ date('d.m.Y H:i:s', strtotime($new->created_at)) }}</time>
194   - <span class="news__item-title">{{ $new->title }}</span>
195   - <span class="news__item-text">{!! mb_strimwidth($new->text, 0, 100) !!}</span>
  194 + <div class="news__item-title">{{ $new->title }}</div>
  195 + <div class="news__item-text">{!! mb_strimwidth($new->text, 0, 100) !!}</div>
196 196 <div>
197 197 <a href="{{ route('detail_new', ['new' => $new->id]) }}" class="news__item-more button button_light">Читать далее</a>
198 198 </div>