Show at most 4 categories, the rest behind a '+N' tag

- New partial/tag_list: first 4 categories, then a '+N' tag that opens
  the remaining ones (hover/keyboard on desktop, tap on touch screens;
  short close delay so the mouse can reach the list)
- Used on the homepage, the article page and the news overview / tag
  pages (the latter now use the same pills instead of text links)
- Article page: tag row grows when the tags wrap (was a fixed height)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
eric.busandClaude Opus 5.5 committed 2026-11-24 11:48:50 +01:00
1 parent f7b1dbac8f
commit df8c8a9c4f
10 files changed
+325 -32

No files matched your search

+1 -3
View File
@@ -27,9 +27,7 @@
@section('tags')
<ul class="post_tags">
@foreach($news->tags as $tag)
<li><a href="{{route('nieuws.tag', $tag->slug)}}" title="{{$tag->titel}}">{{$tag->titel}}</a></li>
@endforeach
@include('partial/tag_list', ['tags' => $news->tags])
</ul>
@endsection