There are many places where tc-reveal inside a list breaks customizing the individual items in the list. But as far as I can think, this is the only place where it matters, because most other lists are used in places where all items are styled the same.
On Wed, Feb 6, 2019, 00:07 Jeremy Ruston <[email protected] wrote: > Hi Arlen > > In trying to modify the theme of the sidebar, I discovered that the reveal > widget makes it impossible to reposition the sidebar elements because they > do not have the appropriate classes. > > <image.png> > > I am wondering if it would be possible to change the sidebar tiddler to > allow the individual inclusions to specify a container class for the > sidebar tiddler to put on the reveal widget. > > > The sidebar is generated like this: > > <$list > filter="[all[shadows+tiddlers]tag[$:/tags/SideBarSegment]!has[draft.of]]" > variable="listItem"> > > <$reveal type="nomatch" state=<<config-title>> text="hide" tag="div"> > > <$transclude tiddler=<<listItem>> mode="block"/> > > </$reveal> > > </$list> > > > (See $:/core/ui/PageTemplate/sidebar). > > I guess we could do something like this to allow sidebar segments to have > a “class” field that is used as the class for the DIV: > > <$reveal type="nomatch" state=<<config-title>> text="hide" class={{{ > [<listItem>get[class]] }}} tag="div"> > > > But we’d need to consider consistency with other places where we use tags > to build the UI. > > Best wishes > > Jeremy. > > > > Thoughts, anyone? > Arlen > > -- > 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/CAJ1vdSRB-D2eFW%2B425j4GSOKwsy27tF2S4PC%3DHSrKb2rxQ8xzw%40mail.gmail.com > <https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSRB-D2eFW%2B425j4GSOKwsy27tF2S4PC%3DHSrKb2rxQ8xzw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- > 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/D1240A2F-F966-4E0A-AAE3-B3C65A19C9B8%40gmail.com > <https://groups.google.com/d/msgid/tiddlywiki/D1240A2F-F966-4E0A-AAE3-B3C65A19C9B8%40gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAJ1vdSSRwxCc9TUoGFiZFQrdtfpYVhchL6wmqgKiatB0Lq_RTg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

