Problem/Motivation

I am noticing two issues with our footer navigations links currently.

  1. The links have some padding applied, especially on the left side is problematic, because that makes it miasligned with the content.
  2. The links could be displayed inline with flex, so that we end up saving vertical space.
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sasanikolic created an issue. See original summary.

sasanikolic’s picture

Status: Active » Needs review
FileSize
2.08 KB

Here is the patch with the proposed changes.

sasanikolic’s picture

This patch fails to apply to our projects because of https://www.drupal.org/files/issues/2020-05-18/3137537-footer-margin-com.... Adding the patch on top of that.

sasanikolic’s picture

Seems like there was also a conflict with this patch https://www.drupal.org/files/issues/2020-05-18/3137671-generalize-link-c....

The following patch is on top of both #3137537 and #3137671.

pivica’s picture

I agree that horizontal padding looks weird and it is breaking the grid. I've created a proposal for additional refactoring improvements in #3220586: Menus should use Bootstrap nav/nav-link only for horizontal menus in header region, but these changes are a bit too much for 1.x version so we will move it to 2.x.

Here is a new patch against the latest dev. I've just reset horizontal padding for footer content nav links with respect to the navigation link hover underline animation option. Note that this is done for all screen sizes because often you want to show the title for that block links in the footer and then it again looks weird and it is not following a grid.

I've removed the other change like displaying links in a row for small screens. This is quite specific for now and i didn't saw too many examples of this, or I am wrong? Anyway this kind of improvements we can discuss in #3220586: Menus should use Bootstrap nav/nav-link only for horizontal menus in header region.

  • pivica committed 776ce86 on 8.x-1.x authored by sasanikolic
    Issue #3186903 by sasanikolic, pivica: Improve footer links on mobile
    
pivica’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.