Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Move and delete buttons in repeating sections have gone rogue

I'm making a character sheet for Savage Worlds and the move and delete buttons for items in repeating sections aren't positioning properly. I'm sure this is a simple fix, but without access to the code for those buttons, it's hard to figure out where to start debugging. Hoping someone else has experience with this issue.


It looks like it's just the Delete button getting misplaced, while the Move button is fine.

It's also interesting that the Add and Done buttons are visible simultaneously. They're supposed to be mutually exclusive on a given repeating section.

Are these buttons always displayed, or only displayed after you click the Modify?

When you mouse over the repeating section, how big is the yellowed box? Does it cover the full width, or does it only go as far as the Delete button?

July 21 (5 years ago)

Edited July 21 (5 years ago)

The add/done buttons are my doing. Side effect of hiding them when a section isn't editable. Didn't actually notice that, so I guess I have some tweaking to do there lol.

The yellow box only goes as far as the delete button for the first entry, then it's not visible on the others (presumably sandwiched between the buttons with 0 width).


Edit: The move and delete buttons are only displayed after I click modify.

Thanks for pointing out the yellow box, I think it got me on the right track. I have the sections displaying as inline and it's breaking the positioning of those elements. I need to set it up to only display as inline when it isn't in edit mode.

It sounds like for some reason the repcontainer sections aren't filling the width like they normally do. These sections don't have much styling from Roll20 so I'm not sure how that could have happened. Can you use dev tools to see how wide the section containing the repcontainer is? Do you have some particular styling on the repeating sections? I'm not sure what you did to make the Add and Done buttons display simultaneously, either.

July 21 (5 years ago)

Edited July 21 (5 years ago)

Yay, that did it. Now I just have to tweak the styling from there. If anyone is wondering WHY I would want an inline repeating section, here's what it looks like in view mode (each red text element is a clickable roll button).


Now how do I mark this as resolved?