This question about Missing functionality: Asked

class="twistyPlugin" - needs default margins top and bottom

I've used Twisty to open and close an ActionSearch for open and closed actions.

The container for the Action Buttons gets assigned a class = "twistyPlugin". This class appears not to be defined in any css.

As a result with the above example, the Action button spills out of the "twistyPlugin" div and encroaches on the action headers below (and above).


By adding ".twistyPlugin { margin:10px 0px 5px 0px; }" to "my_colors.css" the above example now looks like this:-

It may help other implementations of the Twisty "button" not just Actions.

Looking at the top screenshot it seems you have a float problem.

Adding margins to all twisties will mess up the layout of existing templates.

-- ArthurClemens - 17 Oct 2010

Thanks Arthur. I moved the margin from the Twisty to the ActionTracker CSS (styles.local.css) for the table which defines the atpSearch. All looks good without affecting Twisty!

-- BobCorless - 17 Oct 2010

QuestionForm edit

Subject Missing functionality
Extension TwistyPlugin
Version Foswiki 1.1.0
Status Asked
Topic revision: r3 - 17 Oct 2010, BobCorless - This page was cached on 16 Jan 2020 - 15:39.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy