withastro / astro.build

https://astro.build
335 stars 131 forks source link

[Visual bug] "Integrations" link text in header under "Resources" submenu breaks on new line #1069

Open edburtnieks opened 4 weeks ago

edburtnieks commented 4 weeks ago

Reproduce

  1. Visit https://astro.build on screens >= 1024px
  2. Open "Resources" submenu

Repeatability: 100% Operating systems and browsers:

Expected result

"Integrations" link text in header under "Resources" submenu is in one line

image

Actual result

"Integrations" link text in header under "Resources" submenu breaks on new line

image

Potential solution

Adding whitespace-nowrap tailwind class to links inside the "Resources" submenu

See: https://github.com/withastro/astro.build/blob/20d174e1a3c180558f97b3a64bcd805d7865f3c1/src/components/ResourcesMenu.astro#L49

ElianCodes commented 3 weeks ago

Weird, this doesn't seem to happen on any of my machines. The viewport changes to the mobile layout before the line starts to break.

edburtnieks commented 3 weeks ago

Yeah, it only happens on my Linux machine