Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide additional field for set some css classes directly to <a> element in navigation-link block #49510

Open
cawa-93 opened this issue Mar 31, 2023 · 1 comment
Labels
CSS Styling Related to editor and front end styles, CSS-specific issues. [Feature] Design Tools Tools that impact the appearance of blocks both to expand the number of tools and improve the experi [Type] Enhancement A suggestion for improvement.

Comments

@cawa-93
Copy link
Contributor

cawa-93 commented Mar 31, 2023

What problem does this address?

The navigation block is extremely limited. You cannot insert a Button block into the navigation. You can't even copy and paste classes into a link, because classes are pasted into the parent <li>, not the <a>.

Currently, there is no easy way to somehow increase the height of the link. You can't set a minimum height, can't add padding, nothing. The only option available to you is to add classes to <li> and then edit the css to apply the styles not to the element with the class but to the child element <a>

What is your proposed solution?

Provide additional field for set some css classes directly to <a> element.

@mrfoxtalbot
Copy link

Related to #49415

@mrfoxtalbot mrfoxtalbot added [Type] Enhancement A suggestion for improvement. [Feature] Design Tools Tools that impact the appearance of blocks both to expand the number of tools and improve the experi CSS Styling Related to editor and front end styles, CSS-specific issues. labels Apr 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CSS Styling Related to editor and front end styles, CSS-specific issues. [Feature] Design Tools Tools that impact the appearance of blocks both to expand the number of tools and improve the experi [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants