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:
1 parent
f7b1dbac8f
commit
df8c8a9c4f
10 files changed
+325
-32
No files matched your search
+7
-3
@@ -140,7 +140,12 @@
|
||||
|
||||
.post_tags {
|
||||
@include reset-list;
|
||||
height: 31px;
|
||||
// Grows with the tags when they wrap onto a second line (was a fixed 31px
|
||||
// height with floats); the '+N' list (components/_tags.scss) opens below it
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px 10px;
|
||||
margin: 20px 0;
|
||||
|
||||
a {
|
||||
@@ -150,8 +155,7 @@
|
||||
}
|
||||
|
||||
li {
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
margin: 0;
|
||||
|
||||
a {
|
||||
@extend %post-tags-link
|
||||
|
||||
Reference in new issue
Block a user