This is an automated email from the ASF dual-hosted git repository.

mraible pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/roller-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 62c8530  Let the page container shrink on small screens so the site 
works on mobile
62c8530 is described below

commit 62c8530f622945e5439fa20d9a36007e56d65190
Author: Matt Raible <[email protected]>
AuthorDate: Fri Sep 25 09:00:52 2026 -0600

    Let the page container shrink on small screens so the site works on mobile
    
    The .container rule in roller.css set a fixed width of 940px, which forced 
every page to 940px wide and cut off the content on phones. Changing it to 
max-width keeps the same 940px column on desktop while letting the Bootstrap 
container fit narrower viewports.
---
 content/css/roller.css                       | 2 +-
 sources/src/main/jbake/assets/css/roller.css | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/content/css/roller.css b/content/css/roller.css
index d0ab8e4..49683a2 100644
--- a/content/css/roller.css
+++ b/content/css/roller.css
@@ -111,7 +111,7 @@ pre {
    }
 
     .container {
-      width: 940px;
+      max-width: 940px;
     }
 
     /* From Apache Isis 
diff --git a/sources/src/main/jbake/assets/css/roller.css 
b/sources/src/main/jbake/assets/css/roller.css
index d0ab8e4..49683a2 100644
--- a/sources/src/main/jbake/assets/css/roller.css
+++ b/sources/src/main/jbake/assets/css/roller.css
@@ -111,7 +111,7 @@ pre {
    }
 
     .container {
-      width: 940px;
+      max-width: 940px;
     }
 
     /* From Apache Isis 

Reply via email to