<$button popup="$:/state/popup/something2">click</$button>
<$reveal type="popup" state="$:/state/popup/something2"
class="my-pop tc-popup-keep">
<div class="tc-table-of-contents">
<<my-toc-selective-expandable $(currentTiddler)$>>
</div>
</$reveal>
<style>
.my-pop {
background:white;
padding:0 15px;
border-radius: 3px;
border: 1px solid #ccc;
margin:5px 0 0 3px;
}
</style>Hi Erwan,
The problem is that you're using the class "tc-drop-down",
which sets the default dropdown styles for links.
Remove that and define your custom class / styles.
E.g.:
<$button popup="$:/state/popup/something2">click</$button>
<$reveal type="popup" state="$:/state/popup/something2"
class="my-pop tc-popup-keep">
<div class="tc-table-of-contents">
<<my-toc-selective-expandable $(currentTiddler)$>>
</div>
</$reveal>
<style>
.my-pop {
background:white;
padding:0 15px;
border-radius: 3px;
border: 1px solid #ccc;
margin:5px 0 0 3px;
}
</style>
--
Best wishes,
— tb1
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+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3adc251a-a35c-4514-9163-13816c2ca418%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
.tc-drop-down a, .tc-drop-down button { display: block; padding: 0 14px 0 14px; width: 100%; text-align: left; color: #333333; line-height: 1.4; }
in the base theme, is that correct?