openeuropa / oe_whitelabel

European Union Public License 1.2
2 stars 4 forks source link

Reposition eu-footer items with openeuropa/oe_corporate_blocks version 4.19.0 and above #289

Open peterserfozo opened 1 month ago

peterserfozo commented 1 month ago

In the 4.19.0 release of https://github.com/openeuropa/oe_corporate_blocks the EU institutions links are removed and there is only one link points to Search all institutions and bodies See: https://github.com/openeuropa/oe_corporate_blocks/pull/152/files#diff-65e9d844cb6b349019f8a6c94cf3fea6a0d7ee80f71a88de0d062c5635417416L21-L74

For better alignment and to match ECL the Legal section should be moved to the top right position.

Before the openeuropa/oe_corporate_blocks update:

Screenshot 2024-06-14 at 12 46 48

After the openeuropa/oe_corporate_blocks update:

Screenshot 2024-06-14 at 12 51 24

After the openeuropa/oe_corporate_blocks update and with the proposed change in https://github.com/openeuropa/oe_whitelabel/pull/290:

Screenshot 2024-06-14 at 12 52 53
peterserfozo commented 1 month ago

Note that the padding between the two columns was not set on mobile screen. The PR fixes this issue too by adding a top padding to the first label in the second column only on mobile screen. Before:

Screenshot 2024-06-14 at 13 34 17

After:

Screenshot 2024-06-14 at 13 36 23