You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Prakash1185 (via GitHub)" <gi...@apache.org> on 2026/01/16 23:20:34 UTC
[PR] fix:improve footer responsiveness on smaller screens [avro]
Prakash1185 opened a new pull request, #3626:
URL: https://github.com/apache/avro/pull/3626
## Problem
- The site footer layout was breaking on smaller screens and footer links were misaligned.
## What changed
- Applied mobile-only layout adjustments to the footer
- Centered footer content on small screens
- All the changes made does not affect the desktop layout.
### Before
<img width="694" alt="Screenshot 2026-01-17 033844" src="https://github.com/user-attachments/assets/dad8d60d-e6b3-4cce-9892-0ff4249f4510" />
<img width="372" alt="Screenshot 2026-01-17 033922" src="https://github.com/user-attachments/assets/0fdeb880-ffd4-484d-97a1-d78f24165a89" />
### After
<img width="300" alt="Screenshot 2026-01-17 033830" src="https://github.com/user-attachments/assets/f6d586c0-df7c-42ab-9956-f5b1be722207" />
<img width="300" alt="Screenshot 2026-01-17 033926" src="https://github.com/user-attachments/assets/e5d2dbcc-a54b-4889-b966-ed5e04b80007" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix:improve footer responsiveness on smaller screens [avro]
Posted by "Prakash1185 (via GitHub)" <gi...@apache.org>.
Prakash1185 commented on PR #3626:
URL: https://github.com/apache/avro/pull/3626#issuecomment-3781693815
Hi @martin-g , this PR improves footer responsiveness on small screens. Please take a look.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix:improve footer responsiveness on smaller screens [avro]
Posted by "Prakash1185 (via GitHub)" <gi...@apache.org>.
Prakash1185 commented on code in PR #3626:
URL: https://github.com/apache/avro/pull/3626#discussion_r2721706687
##########
doc/assets/scss/_styles_project.scss:
##########
@@ -33,3 +33,36 @@
.navbar-brand {
font-family: "PT Mono", monospace;
}
+
+@media (max-width: 996px) {
Review Comment:
Updated the breakpoint to 992px to match Bootstrap’s lg breakpoint.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix:improve footer responsiveness on smaller screens [avro]
Posted by "Prakash1185 (via GitHub)" <gi...@apache.org>.
Prakash1185 commented on code in PR #3626:
URL: https://github.com/apache/avro/pull/3626#discussion_r2721722921
##########
doc/assets/scss/_styles_project.scss:
##########
@@ -33,3 +33,36 @@
.navbar-brand {
font-family: "PT Mono", monospace;
}
+
+@media (max-width: 996px) {
+
+ footer .row {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
+ }
+
+ footer [class^="col-"] {
+ width: 100% !important;
Review Comment:
Removed !important and adjusted the selector accordingly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix:improve footer responsiveness on smaller screens [avro]
Posted by "Prakash1185 (via GitHub)" <gi...@apache.org>.
Prakash1185 commented on code in PR #3626:
URL: https://github.com/apache/avro/pull/3626#discussion_r2721719717
##########
doc/assets/scss/_styles_project.scss:
##########
@@ -33,3 +33,36 @@
.navbar-brand {
font-family: "PT Mono", monospace;
}
+
+@media (max-width: 996px) {
+
+ footer .row {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
+ }
+
+ footer [class^="col-"] {
Review Comment:
Thanks for pointing this out. Updated the selector to avoid relying on class name prefixes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix:improve footer responsiveness on smaller screens [avro]
Posted by "Prakash1185 (via GitHub)" <gi...@apache.org>.
Prakash1185 commented on code in PR #3626:
URL: https://github.com/apache/avro/pull/3626#discussion_r2721705500
##########
doc/assets/scss/_styles_project.scss:
##########
@@ -33,3 +33,36 @@
.navbar-brand {
font-family: "PT Mono", monospace;
}
+
+@media (max-width: 996px) {
+
+ footer .row {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
Review Comment:
Agreed, removed the redundant text-align rule.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix:improve footer responsiveness on smaller screens [avro]
Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g commented on PR #3626:
URL: https://github.com/apache/avro/pull/3626#issuecomment-3794716032
Thank you, @Prakash1185 !
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix:improve footer responsiveness on smaller screens [avro]
Posted by "Prakash1185 (via GitHub)" <gi...@apache.org>.
Prakash1185 commented on PR #3626:
URL: https://github.com/apache/avro/pull/3626#issuecomment-3783800081
Thanks for the detailed review! I’ve noted the points and will address them shortly with an updated commit.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix:improve footer responsiveness on smaller screens [avro]
Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g merged PR #3626:
URL: https://github.com/apache/avro/pull/3626
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix:improve footer responsiveness on smaller screens [avro]
Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g commented on code in PR #3626:
URL: https://github.com/apache/avro/pull/3626#discussion_r2715591110
##########
doc/assets/scss/_styles_project.scss:
##########
@@ -33,3 +33,36 @@
.navbar-brand {
font-family: "PT Mono", monospace;
}
+
+@media (max-width: 996px) {
+
+ footer .row {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
Review Comment:
```suggestion
```
This one seems redundant. The one at line 49 will override it anyway.
##########
doc/assets/scss/_styles_project.scss:
##########
@@ -33,3 +33,36 @@
.navbar-brand {
font-family: "PT Mono", monospace;
}
+
+@media (max-width: 996px) {
Review Comment:
Why 996 ?
https://getbootstrap.com/docs/5.0/layout/breakpoints/ uses 992
##########
doc/assets/scss/_styles_project.scss:
##########
@@ -33,3 +33,36 @@
.navbar-brand {
font-family: "PT Mono", monospace;
}
+
+@media (max-width: 996px) {
+
+ footer .row {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
+ }
+
+ footer [class^="col-"] {
+ width: 100% !important;
+ max-width: 100% !important;
+ text-align: center !important;
+ margin-bottom: 1.25rem;
+ }
+
+ footer ul.list-inline {
+ display: flex;
+ justify-content: center;
+ flex-wrap: wrap;
+ }
+
+ footer ul.list-inline li {
+ margin: 0.4rem;
+ }
+
+ footer img {
+ margin-left: auto;
+ margin-right: auto;
+ display: block;
+ }
+}
Review Comment:
```suggestion
}
```
##########
doc/assets/scss/_styles_project.scss:
##########
@@ -33,3 +33,36 @@
.navbar-brand {
font-family: "PT Mono", monospace;
}
+
+@media (max-width: 996px) {
+
+ footer .row {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
+ }
+
+ footer [class^="col-"] {
+ width: 100% !important;
Review Comment:
`!important` is usually not recommended. Did you try without it ? E.g. with more concrete selector.
##########
doc/assets/scss/_styles_project.scss:
##########
@@ -33,3 +33,36 @@
.navbar-brand {
font-family: "PT Mono", monospace;
}
+
+@media (max-width: 996px) {
+
+ footer .row {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
+ }
+
+ footer [class^="col-"] {
+ width: 100% !important;
+ max-width: 100% !important;
+ text-align: center !important;
+ margin-bottom: 1.25rem;
+ }
+
+ footer ul.list-inline {
+ display: flex;
+ justify-content: center;
+ flex-wrap: wrap;
+ }
+
+ footer ul.list-inline li {
+ margin: 0.4rem;
+ }
+
+ footer img {
Review Comment:
Is this needed ?
`<img>` is an inline element, so the `text-align: center` from line 49 should be enough.
##########
doc/assets/scss/_styles_project.scss:
##########
@@ -33,3 +33,36 @@
.navbar-brand {
font-family: "PT Mono", monospace;
}
+
+@media (max-width: 996px) {
+
+ footer .row {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
+ }
+
+ footer [class^="col-"] {
Review Comment:
This will match only if "col-..." is the first item in `class="..."`, e.g. `class="col-3"`, but it won't match for `class="another col-3"`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix:improve footer responsiveness on smaller screens [avro]
Posted by "Prakash1185 (via GitHub)" <gi...@apache.org>.
Prakash1185 commented on code in PR #3626:
URL: https://github.com/apache/avro/pull/3626#discussion_r2721724356
##########
doc/assets/scss/_styles_project.scss:
##########
@@ -33,3 +33,36 @@
.navbar-brand {
font-family: "PT Mono", monospace;
}
+
+@media (max-width: 996px) {
+
+ footer .row {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
+ }
+
+ footer [class^="col-"] {
+ width: 100% !important;
+ max-width: 100% !important;
+ text-align: center !important;
+ margin-bottom: 1.25rem;
+ }
+
+ footer ul.list-inline {
+ display: flex;
+ justify-content: center;
+ flex-wrap: wrap;
+ }
+
+ footer ul.list-inline li {
+ margin: 0.4rem;
+ }
+
+ footer img {
Review Comment:
removed the unnecessary img centering rule.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix:improve footer responsiveness on smaller screens [avro]
Posted by "Prakash1185 (via GitHub)" <gi...@apache.org>.
Prakash1185 commented on PR #3626:
URL: https://github.com/apache/avro/pull/3626#issuecomment-3790883694
Thanks for the review! @martin-g . I’ve pushed an update addressing all the changes you suggested. Please let me know if this looks good now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org