Various visual improvements#122
Merged
Merged
Conversation
Previously the page was filling 80% of the available window with no maximum, looking ridiculous on ultrawide screens. This commit adds a sensible maximum (1000px).
- Prevent longer articles taking up too much homepage space by only showing a preview (first 500 words). Add a "read more" link to the full article if its longer than 500 words. - Increase spacing between articles so they are more obviously separated. This makes the template for the homepage and for the /news page sufficiently different for them to be separated rather than configured with params.
Nowhere else are slashes surrounded by spaces, so make these cases consistent with the rest of the site text.
davecgh
approved these changes
Jun 10, 2026
| The emergence of the sloptimism problem can clearly be seen by charting the number of reports submitted to the Decred bug bounty program since its inception. | ||
|
|
||
| <img src="/img/report-chart.svg" style="margin: auto; max-width: 700px; width 90%;" alt="chart"/> | ||
| <img src="/img/report-chart.svg" style="margin: auto; max-width: 700px; width: 90%;" alt="chart"/> |
Member
There was a problem hiding this comment.
That was probably a fun one to find. Easy to miss.
Member
Author
There was a problem hiding this comment.
There was a few minutes of head-scratching thats for sure. Very annoying.
| <div> | ||
| <a class="see-more" href="{{ .Site.Params.news.URL | absURL }}">See all news and updates...</a> | ||
| </div> | ||
|
|
Member
There was a problem hiding this comment.
Not that it matters, but this seems like an extra blank line unbalanced with the opening tag and anchor that doesn't have one.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Looks like a large diff but its a lot of whitespace changes.
See individual commits for details.