This is an automated email from the ASF dual-hosted git repository. cris pushed a commit to branch update/reduce-horizonal-scrolling in repository https://gitbox.apache.org/repos/asf/sling-site.git
commit 17cc3a3b6cd83afaccb983f5c19aef05f6525a92 Author: Cris Rockwell <[email protected]> AuthorDate: Mon Oct 19 14:19:17 2020 -0400 Horizonal scrolling is very common throughout Sling Site docs, and it is annoying. This page /documentation/development/release-management.html div.column.main was 2333px wide. This is caused by absence of line-breaks inside <pre> text and absence of max-width CSS applied to the parent .main css class. This commit sets max-width at 1000px for the .main element. If <pre> text extend beyond that, there will be local horizontal scroll. Therefore excessivly long <pre> text won't ruin the [...] --- src/main/jbake/assets/res/css/site.css | 1 + .../jbake/content/documentation/development/release-management.md | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/jbake/assets/res/css/site.css b/src/main/jbake/assets/res/css/site.css index ad9df1e..b094afa 100644 --- a/src/main/jbake/assets/res/css/site.css +++ b/src/main/jbake/assets/res/css/site.css @@ -48,6 +48,7 @@ a:hover { .main { border-top: 10px solid #cde0ea; + max-width: 1000px; } diff --git a/src/main/jbake/content/documentation/development/release-management.md b/src/main/jbake/content/documentation/development/release-management.md index 330c438..a9ad040 100644 --- a/src/main/jbake/content/documentation/development/release-management.md +++ b/src/main/jbake/content/documentation/development/release-management.md @@ -266,7 +266,10 @@ releases which are just announced on our [news](/news.html) page. The Apache Sling team is pleased to announce the release of Apache Sling ABC version X.Y.Z - Apache Sling is a web framework that uses a Java Content Repository, such as Apache Jackrabbit, to store and manage content. Sling applications use either scripts or Java servlets, selected based on simple name conventions, to process HTTP requests in a RESTful way. + Apache Sling is a web framework that uses a Java Content Repository, such as Apache + Jackrabbit, to store and manage content. Sling applications use either scripts or + Java servlets, selected based on simple name conventions, to process HTTP requests + in a RESTful way. <<insert short description of the sub-project>>
