show variable details search by default, make details-toggle-button smaller
This commit is contained in:
parent
d49a23a216
commit
3187d32cad
|
@ -67,6 +67,7 @@ tags: $:/tags/Global
|
||||||
<!-- search-variables helper functions -->
|
<!-- search-variables helper functions -->
|
||||||
\procedure dv-toggleState()
|
\procedure dv-toggleState()
|
||||||
<$action-setfield $tiddler=<<tf.dv-varState>> text={{{ [<tf.dv-varState>get[text]] +[toggle[yes],[no]] }}}/>
|
<$action-setfield $tiddler=<<tf.dv-varState>> text={{{ [<tf.dv-varState>get[text]] +[toggle[yes],[no]] }}}/>
|
||||||
|
<<dv-toggleInfoState>>
|
||||||
\end
|
\end
|
||||||
|
|
||||||
\procedure dv-toggleInfoState()
|
\procedure dv-toggleInfoState()
|
||||||
|
@ -210,8 +211,8 @@ tags: $:/tags/Global
|
||||||
<% endif %>
|
<% endif %>
|
||||||
|
|
||||||
<% if [<tf.dv-varState>get[text]match[yes]] %>
|
<% if [<tf.dv-varState>get[text]match[yes]] %>
|
||||||
<$button actions=<<dv-toggleInfoState>>
|
<$button actions=<<dv-toggleInfoState>>
|
||||||
class="tc-btn-invisible tc-small-gap-left"
|
class="tc-btn-details tc-btn-invisible tc-small-gap-left"
|
||||||
>
|
>
|
||||||
<% if [<tf.dv-toggleInfoState>get[text]match[yes]] %>
|
<% if [<tf.dv-toggleInfoState>get[text]match[yes]] %>
|
||||||
<span title={{$:/language/Search/Variables/Info/Toggle/Hide}}>{{$:/core/images/up-arrow}}</span>
|
<span title={{$:/language/Search/Variables/Info/Toggle/Hide}}>{{$:/core/images/up-arrow}}</span>
|
||||||
|
|
|
@ -87,6 +87,11 @@ tags: $:/tags/Stylesheet
|
||||||
<!-- fill: <<colour dirty-indicator>>; -->
|
<!-- fill: <<colour dirty-indicator>>; -->
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tc-variables-results button.tc-btn-details svg {
|
||||||
|
width: .9em;
|
||||||
|
height: .9em;
|
||||||
|
}
|
||||||
|
|
||||||
.btn-fld {
|
.btn-fld {
|
||||||
padding: 0 2px;
|
padding: 0 2px;
|
||||||
grid-area: btn-fld;
|
grid-area: btn-fld;
|
||||||
|
|
Loading…
Reference in New Issue