frontity / frontity.org

The Frontity project of the frontity.org site

Home Page:https://frontity.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Processor for adding border radius

SantosGuillamot opened this issue · comments

Description

There are some elements that need some border-radius, and they should be configurable form the WP editor. Most commonly used are 8px and 12px.

Gutenberg blocks don't support this by default, so we are planning on using classes like these: has-border-radius-8px or has-border-radius-12px.

It could be used inside any tag.

Style

We just have to add the correct border-radius to the element.

Where to check

Inside /common-styles/ page -> Divs with custom border-radius