mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-03-29 06:46:55 +00:00
Adjust the slider macro to the new Bootstrap styles
And fixed some indentation issues
This commit is contained in:
parent
bfc1f1aaa5
commit
0f2883b75a
@ -19,7 +19,7 @@ The current state of the slider can be stored as the string "open" or "closed" i
|
||||
The markup generated by the slider macro is:
|
||||
{{{
|
||||
<span class="tw-slider {user defined class}">
|
||||
<a class="tw-slider-label">{slider label}</a>
|
||||
<a class="btn-info">{slider label}</a>
|
||||
<div class="tw-slider-body" style="display:{state}">{slider content}</div>
|
||||
</span>
|
||||
}}}
|
||||
@ -127,7 +127,7 @@ exports.macro = {
|
||||
[
|
||||
Renderer.ElementNode("a",
|
||||
{
|
||||
"class": ["tw-slider-label"]
|
||||
"class": ["btn","btn-info"]
|
||||
},[
|
||||
Renderer.TextNode(this.params.label ? this.params.label : this.params.target)
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user