Ah perfect! 

Thank you!

-Petri

On Tuesday, November 30, 2021 at 3:40:36 PM UTC+2 Eric Shulman wrote:

> By default, `tc-drop-down` applies CSS `white-space:nowrap`.  In addition, 
> for links it also applies `display:block; padding:0 14px 0 14px;`.
>
> To override these default styles, you can define and apply your own CSS 
> class (e.g., "my-drop-down"), like this:
>
> 1) Create a stylesheet tiddler, tagged with `$:/tags/Stylesheet`, 
> containing:
> .my-drop-down { white-space:normal; }
> .my-drop-down a { display:inline; padding:0; }
>
> 2) Then, where you display your dropdown `<div>`, add `my-drop-down` to 
> the class, like this:
> <div class="tc-drop-down my-drop-down">
> <$transclude tiddler="HelloThere" mode="block"/>
> </div>
>
> enjoy,
> -e
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/842a268d-fd55-41ae-8e9d-bbd2cfaf96f3n%40googlegroups.com.

Reply via email to