lxndrblz / anatole

Anatole is a minimalistic two-column theme for Hugo.
https://themes.gohugo.io/themes/anatole/
MIT License
651 stars 363 forks source link

Avoid wrapping text of navigation items #328

Closed alexanderdavide closed 2 years ago

alexanderdavide commented 2 years ago

Description

When having navigation items consisting of multiple words, the text wraps is prone to wrap to the next line which breaks the layout. This PR intends to fix this.


Additional Information

Reproduction:

  1. Add navigation item consisting of more than one word; e. g. change 'Posts' to 'My Posts'.
  2. Shrink the window size and see 'Posts' being wrapped to the next line.

See 'ÜBER MICH' on my blog.


Checklist

Yes, I included all necessary artefacts, including:


Testing Checklist

Yes, I ensured that all of the following scenarios were tested:

netlify[bot] commented 2 years ago

✔️ Deploy Preview for anatole-demo ready!

🔨 Explore the source changes: 4ba5593c7282720fed7fc0eada17c025cba4089f

🔍 Inspect the deploy log: https://app.netlify.com/sites/anatole-demo/deploys/622e4639da54ad0007d6a0ed

😎 Browse the preview: https://deploy-preview-328--anatole-demo.netlify.app

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication