Commit 4d1ebefc59121aca7b3221beb4813a7c1c92db9d

Authored by Hayk Nazaryan
1 parent ed696371d7
Exists in master

news 'read more' button fix

Showing 2 changed files with 4 additions and 3 deletions Side-by-side Diff

public/css/style_may2024.css
... ... @@ -9832,8 +9832,7 @@ nav .drop-down {
9832 9832 nav .drop-down.closed {
9833 9833 /* When toggled via jQuery this class will reduce the height of the ul which inconjuction
9834 9834 with overflow: hidden set on the ul will hide all list items apart from the first */
9835   - /* current li height 38px + 5px border */
9836   - height: 35px;
  9835 + height: 38px;
9837 9836 }
9838 9837  
9839 9838 .select2-selection__choice[title*="Все должности"] .select2-selection__choice__remove {
resources/views/index.blade.php
... ... @@ -193,7 +193,9 @@
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 194 <span class="news__item-title">{{ $new->title }}</span>
195 195 <span class="news__item-text">{!! mb_strimwidth($new->text, 0, 100) !!}</span>
196   - <a href="{{ route('detail_new', ['new' => $new->id]) }}" class="news__item-more button button_light">Читать далее</a>
  196 + <div>
  197 + <a href="{{ route('detail_new', ['new' => $new->id]) }}" class="news__item-more button button_light">Читать далее</a>
  198 + </div>
197 199 </div>
198 200 </div>
199 201 </div>