Skip to content

Buttons Block: Horizontal margin issue #26702

Closed

Description

@iamtakashi

In #25999, width selectors were added to Button block. It's really nice to be able to control the width, but it seems that we need a little polish in the CSS. When you have a few buttons inside a Buttons block, the default horizontal margin makes an unexpected result, for example:

When I have two 50% buttons, I expect they'd appear side-by-side, but this is what I see instead.

Screenshot 2020-11-04 at 17 40 05

Similar to the above, when I have two buttons 25% and 75%, I expect they'd appear side-by-side.

Screenshot 2020-11-04 at 17 45 52

When I have a few 100% buttons, only the last one is really 100% width.

Screenshot 2020-11-04 at 17 42 01

Activity

  1. added
    [Block] Buttons
    [Type] Bug
    on Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] Buttons[Type] Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions