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-fluido-skin.git


The following commit(s) were added to refs/heads/master by this push:
     new 2700b17  Hide the right banner on phones when there is a left one
2700b17 is described below

commit 2700b17eb8d44db49cf4924e66a3db94f2dfdc80
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Mon Nov 2 09:13:59 2026 +0000

    Hide the right banner on phones when there is a left one
---
 src/main/resources/css/maven-theme.css | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/main/resources/css/maven-theme.css 
b/src/main/resources/css/maven-theme.css
index 42d5571..3532749 100644
--- a/src/main/resources/css/maven-theme.css
+++ b/src/main/resources/css/maven-theme.css
@@ -177,3 +177,10 @@ pre .hljs-ln td.hljs-ln-code {
 #bodyColumn li {
   padding: 2px 0;
 }
+
+/* on phones the right banner sits below the left one and pushes the page 
down; keep only the left one */
+@media (max-width: 767px) {
+  #banner .pull-left:not(:empty) + .pull-right {
+    display: none;
+  }
+}

Reply via email to