Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit number of press/resources to 3, ordered by recency #238

Closed
mrose914 opened this issue Aug 7, 2023 · 0 comments · Fixed by #239
Closed

Limit number of press/resources to 3, ordered by recency #238

mrose914 opened this issue Aug 7, 2023 · 0 comments · Fixed by #239
Assignees

Comments

@mrose914
Copy link

mrose914 commented Aug 7, 2023

Update: After I wrote this comment, I realized the fix is actually really simple. Estimate of 1. Here is the fix we need to add to the CSS, so that only up to 3 press items or resources show up, in order of most recent:

.tab-list .press-item:nth-child(n + 4),
.tab-list .resource:nth-child(n + 4) {
display: none;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants