Skip to content

Conversation

@thomasguillot
Copy link
Contributor

All Submissions:

Changes proposed in this Pull Request:

Links in the navigation block are now using an underline, transparent by default, then coloured on hover. This allowed for a smooth transition when hovering.

I also increased the thickness of the line.

How to test the changes in this Pull Request:

  1. Check a navigation block on the front-end
  2. Switch to this branch
  3. Repeat 1

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes, as applicable?
  • Have you successfully ran tests with your changes locally?

Copy link
Contributor

@laurelfulford laurelfulford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as described!

It's a more opinionated style for a navigation, so I have a feeling we'll be asked to remove this one some sites 😬 But it's the kind of thing we can test in the wild vs. going off assumptions!

@thomasguillot
Copy link
Contributor Author

It's a more opinionated style for a navigation, so I have a feeling we'll be asked to remove this one some sites

True. I wish we could control the underline via the block settings. At the moment it adds it to the nav rather than the a which is not helpful...

@thomasguillot thomasguillot merged commit d52e92d into master Jan 31, 2024
@thomasguillot thomasguillot deleted the update/navigation-block-style branch January 31, 2024 10:31
matticbot pushed a commit that referenced this pull request Feb 8, 2024
# [1.6.0-alpha.1](v1.5.0...v1.6.0-alpha.1) (2024-02-08)

### Features

* add underline to navigation styles ([#112](#112)) ([d52e92d](d52e92d))
* **ci:** add epic/* release workflow and rename `master` to `trunk` ([#119](#119)) ([b27b7d7](b27b7d7))
* rename colour variables ([#117](#117)) ([d263ccd](d263ccd))
@matticbot
Copy link

🎉 This PR is included in version 1.6.0-alpha.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

matticbot pushed a commit that referenced this pull request Feb 20, 2024
# [1.6.0](v1.5.0...v1.6.0) (2024-02-20)

### Features

* add underline to navigation styles ([#112](#112)) ([d52e92d](d52e92d))
* **ci:** add epic/* release workflow and rename `master` to `trunk` ([#119](#119)) ([b27b7d7](b27b7d7))
* rename colour variables ([#117](#117)) ([d263ccd](d263ccd))
@matticbot
Copy link

🎉 This PR is included in version 1.6.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants