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

Repeating Field Modify Buttons [Slight change request]

On certain setups where Z-Index has to be set higher, and/or using position: Relative, and similar stuff, the buttons for moving and deleting entries gets hidden beneath the repeating field itself. I would like to request that the button has a positive Z-Index of 100. It should not be such a major change, and should have zero effect on any sheet that does not use z-index and minimal effect on others. Thank you very much for your time.
1507970487
Jakob
Sheet Author
API Scripter
Nicolai V. (SioxerNic) said: On certain setups where Z-Index has to be set higher, and/or using position: Relative, and similar stuff, the buttons for moving and deleting entries gets hidden beneath the repeating field itself. I would like to request that the button has a positive Z-Index of 100. It should not be such a major change, and should have zero effect on any sheet that does not use z-index and minimal effect on others. Thank you very much for your time. Why don't you just define your own CSS that changes the z-index of the buttons? I think thats an easier solution...
1507971300

Edited 1507972294
Why don't you just define your own CSS that changes the z-index of the buttons? I think thats an easier solution... <a href="http://prntscr.com/gx9jip" rel="nofollow">http://prntscr.com/gx9jip</a> <a href="http://prntscr.com/gx9jm5" rel="nofollow">http://prntscr.com/gx9jm5</a> Well, apparently I also had to set position: relative as well, but still, I think these things should be base, as they wont affect other sheets either way, and improves the work flow for other sheets.
1507976566
Jakob
Sheet Author
API Scripter
I don't disagree, but I first wanted to offer you a solution that works for your sheet :). I think if you set the z-index of the containing .itemcontrol div instead of the buttons, you shouldn't even need to set position: relative for the buttons themselves, plus the transparency will also be on top of your repeating row. But I haven't looked at it very closely. Another tip, you can also fiddle with the line-height and padding on the buttons to make them less tall, so they fit when your repeating rows don't have a lot of height. I've been using that one myself.
Jakob Yeah, aware of that. Just building sheets for my own campaigns so perfection is not key ^_^ I did see the issue here was the position, because the other elements were position: relative (there is a reason for it, don't worry about it) they would always be on top of other elements, so I just added position: relative to the buttons (to be honest, an unintuitive solution)