1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 00:50:28 +00:00

Fixing dropdown highlights

Pesky Bootstrap is a tad specific about wanting an <li> as the
immediate parent of a dropdown item <a>
This commit is contained in:
Jeremy Ruston 2012-10-17 23:10:10 +01:00
parent 824b65f668
commit 1a88a12eb5
3 changed files with 19 additions and 10 deletions

View File

@ -36,9 +36,11 @@ title: $:/templates/PageTemplate
<<reveal state:[[$:/search/text]] type:nomatch text:""><
<div class="open">
<div class="dropdown-menu">
<<list filter:"[!is[shadow]searchVia[$:/search/text]sort[title]limit[50]]" template:"$:/templates/SearchResultTemplate" emptyMessage:"//No results//">>
</div>
{{dropdown-menu{
* <<list filter:"[!is[shadow]searchVia[$:/search/text]sort[title]limit[50]]" template:"$:/templates/SearchResultTemplate" emptyMessage:"//No results//">>
}}}
</div>
>>

View File

@ -1,3 +1,3 @@
title: $:/templates/SearchResultTemplate
<<view title link>>
<li><<view title link>></li>

View File

@ -10,15 +10,22 @@ title: $:/templates/TagTemplate
>>
}}}
<<reveal state:TagDropDownLocation type:popup qualifyTiddlerTitles:yes><
<div class="open">
<div class="dropdown-menu">
<<view title link>>
<div class="divider"></div>
(((
{{dropdown-menu{
* <<view title link>>
*{{divider}}
* (((
[is[current]tagging[]]
)) <<view title link>> )
</div>
)) <li><<view title link>></li> )
}}}
</div>
>>