AdvancedCustomFields / AdvancedCustomFields/acf

Flexible layout on side: row title and options icons don't have enough space

Open
#584 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
945
Forks
197
PR merge metrics
No merged PRs in 30d

Description

Hi all :)

In Flexible layouts, when they are set to side, titles are not have enough space with options icons (duplicate, toggle, add etc.).

Screenshot-2021-11-28-at-15-50-46

So I've created custom CSS fix for that for my theme purposes:

.is-side .acf-flexible-content .layout {
    padding-bottom: 32px;
}

.is-side .acf-flexible-content .layout .acf-fc-layout-controls {
    top: unset;
    bottom: 8px;
}

.is-side .acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons,
.is-side .acf-flexible-content .layout .acf-fc-layout-controls .acf-icon.-plus,
.is-side .acf-flexible-content .layout .acf-fc-layout-controls .acf-icon.-minus,
.is-side  .acf-flexible-content .layout .acf-fc-layout-controls .acf-icon.-duplicate {
    visibility: visible;
}

.is-side .acf-flexible-content .acf-actions {
    margin-top: 32px;
}

Screenshot-2021-11-28-at-15-52-40

I hope it's gonna help :)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository file or test is named; begin by locating the Flexible layouts side-layout styles and the row title/control markup. Reproduce the cramped title and options icons using the linked screenshots, then verify the controls remain usable without overlapping or losing spacing.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.