Footer JS-based responsiveness on pages without the sidebar is unnecessary #5196
Labels
💻 aspect: code
Concerns the software code in the repository
✨ goal: improvement
Improvement to an existing user-facing feature
🟨 priority: medium
Not blocking but should be addressed soon
🧱 stack: frontend
Related to the Nuxt frontend
Current Situation
The footer layout needs to account for the sidebar width (if any) to make its layout responsive. This is achieved by using the JS-based responsiveness. However, this is not necessary on pages that do not have a sidebar, and lead to a layout shifts on the homepage.
Suggested Improvement
Audit the footer layout responsiveness, and only add it on the search layout with the sidebar.
Benefit
Improved performance and less layout shifting.
Additional context
The text was updated successfully, but these errors were encountered: