In the editor, everything looks just as I want it. Namely, the div’s yellow borders increase in size to the extent there is more or less text in any given div.
But when I toggle to preview mode ( click on any text to see the borders), all extend to more or less the same length, irrespective of the text within the boxes.
Advice would be so appreciated! Thanks!
Posted example below. First is edit mode, second is preview.
Unfortunately, this doesn’t quite fix things in the way I’d like. I would like the borders to expand to the size of the text, as happens in the editor (first screenshot), but not in preview mode.
Okay - I’ve at least isolated the problem, but now there is a separate one. I’ve fixed it (meaning the borders expand just to the length of “Button Text” within) by changing up the “Show and Hide” interaction I had set up. I used to have it open to 150px and changed it to expand to “Auto.”
But, now I have trouble with the interactions not working smoothly. If “Button text” is hidden and I click “button,” it shoots open instantly. One caveat is that when I click to “Button” several times quickly in succession (While button text is appearing and disappearing"), then it will open and close smoothly. For some reason, this only happens when it’s set to expand to “auto” as opposed to a fixed pixel amount (like 150).
Hi @Dontwanttoshowname, I have been looking at this further, and I believe the issue is that there are a lot of transitions set on all properties on multiple elements, including the Body, and one of those transitions is conflicting with the interaction.
When I removed the transition for All Properties on the “DIV” class, the interaction starts to work for me in a more consistent way: