This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git
The following commit(s) were added to refs/heads/master by this push:
new a3d1f638 Let the home page section headings wrap on phones
a3d1f638 is described below
commit a3d1f638ebf0022f88e16fb4270ea406a305a258
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sun Nov 1 23:38:34 2026 +0000
Let the home page section headings wrap on phones
---
content/resources/css/site.css | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/content/resources/css/site.css b/content/resources/css/site.css
index 7f6fe2eb..3cdc8665 100644
--- a/content/resources/css/site.css
+++ b/content/resources/css/site.css
@@ -76,3 +76,11 @@ body ul {
.home-section-links {
font-size: 1.25em;
}
+
+/* on a phone the headings wrap instead of running past the edge of the screen
*/
+@media (max-width: 767px) {
+ .home-section-heading,
+ .home-section-links {
+ white-space: normal;
+ }
+}