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

Radius not an option #113

Open
jonnywatersbb opened this issue Oct 2, 2024 · 1 comment
Open

Radius not an option #113

jonnywatersbb opened this issue Oct 2, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jonnywatersbb
Copy link
Member

In the site editor tools, it's possible to add a border radius to blocks within Border and shadow:
Screenshot 2024-10-02 at 09 46 09

Examples being button, cover, columns etc

In themer there doesn't seem to be an option to do this:

Screenshot 2024-10-02 at 09 46 32
@jonnywatersbb jonnywatersbb added the bug Something isn't working label Oct 2, 2024
@thatisrich thatisrich self-assigned this Oct 4, 2024
@thatisrich
Copy link
Contributor

I've made a start looking at this issue and have a little demo which shows the presence of the border radius option, however it's got quite a few bugs to iron out.

I could not find a core component which tackles the border radius so have started creating a custom one, utilising the border radius options found in the Styles Options documentation and following the existing layouts.

In the demo you can see the option for a linked radius value and unlinked values for each corner. This mimics the approach to border radius in the editor.

NOTE I have used the in progress block-preview branch as the base for this to ensure it's future-proof, but have also been testing it with the Code display, seen here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants