Code development platform for open source projects from the European Union institutions 🔵 EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content

Fix spacing for search icon in header search block

Created by: msnassar

In small breakpoint there is a space to the right of the search icon. This issue has been initially reported in https://citnet.tech.ec.europa.eu/CITnet/jira/browse/OEL-2602 and handled in https://github.com/openeuropa/oe_whitelabel/pull/240/files

However, after we update the theme to the recent version (1.4), we still have space. See below a screenshot. image

Proposed solution:

  • To avoid this undesirable space to the right of the icon in the small breakpoints, I think it is better to add the margin to the "Search" text instead. This is because, we keep displaying the icon in all breakpoints and hide the text in small breakpoints.