Home › Forums › Add-ons › Repeater Field › Repeater UI gets wonky after last update › Reply To: Repeater UI gets wonky after last update
Elliot,
I had a similar issue with the recent update as well. Client’s site has repeaters within repeaters and they complained that the fields would extend beyond as well as beneath the containing borders causing the wysiwyg fields to be unusable.
My initial thought was “your screen is just too small”. Looked into it a little more in-depth and compared it to a cloned site on the version 1.0.1 repeater plugin. It turns out that there was a change in the 1.1.0 css that was causing the issue.
On line 5 of the input.css file you have
table-layout: fixed;
If I comment out this line, the editor displays as expected (expected by the client).
For my client I’m overriding this style attribute with a custom filter in my functions.php.
function admin_css() { ?>
<style type="text/css">
.repeater > table{
table-layout:auto!important;
}
</style>
<? }
add_action('admin_head', 'admin_css');
That should hold them over and even help with future updates, but could you explain the reason for this simple style change? Is my modification going to come back and bite me?
Thanks,
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.