This is an automated email from the ASF dual-hosted git repository.
novatechflow pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/wayang-website.git
The following commit(s) were added to refs/heads/main by this push:
new 3586b880 fix: fix mobile navbar logo overlap and sidebar alignment
(#137)
3586b880 is described below
commit 3586b880a5e743ad31c6acce3e740c791cb853c9
Author: Ali Mahmood Rana <[email protected]>
AuthorDate: Fri Nov 13 13:39:59 2026 +0500
fix: fix mobile navbar logo overlap and sidebar alignment (#137)
---
src/css/custom.css | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/src/css/custom.css b/src/css/custom.css
index e2bfadbf..bba5d8cd 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -36,6 +36,35 @@
margin-top: -10px;
}
+@media screen and (max-width: 996px) {
+ .navbar__brand {
+ margin-right: 0.5rem;
+ }
+
+ .navbar__logo {
+ height: 2.25rem;
+ margin-right: 0;
+ }
+
+ .navbar__logo img {
+ height: 100%;
+ width: auto;
+ margin-left: 0;
+ margin-top: 0;
+ }
+
+ .navbar-sidebar__brand .navbar__logo {
+ margin-left: 0.25rem;
+ }
+
+ .navbar__search-input {
+ font-size: 0.875rem;
+ padding: 0 0.5rem 0 2rem;
+ width: 9rem;
+ max-width: 42vw;
+ }
+}
+
.header-github-link:hover {
opacity: 0.6;
}