On Thursday, April 28, 2016 at 6:02:03 PM UTC+2, Joc wrote:
>
> Now I am struggling to specify the width of the popup that opens, so that 
> tags would be "width-wrapped" (see "Tags button" tiddler). Any hints?
>
> "Tags button" tiddler:
> <$button popup=<<qualify "$:/state/popup/tag">> class="tc-btn-invisible 
> tc-untagged-label tc-tag-label">
>    Tags
> </$button>
> <$reveal state=<<qualify "$:/state/popup/tag">> type="popup" 
> position="below">
>    <div class="tc-drop-down tc-popup-keep">
>      <$list filter="[tags[]!is[system]sort[title]]">
>         <$macrocall $name="tag" tag=<<currentTiddler>>/>
>      </$list>
>    </div>
> </$reveal>
>

I figured it out.
$:/tags/Stylesheet
.tc-drop-down { min-width: 400px; white-space: normal; } 

This way the popup, opened with tags, gets wrapped (can be multi-line).

Cheers,
 Joc.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/49a289d8-d1a7-4235-95d9-af96974d5bd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to