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]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/tiddlywiki
> <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
> <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.
For more options, visit https://groups.google.com/d/optout.