mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-08 23:03:50 +00:00
Fixed the appearance of tag dropdowns
This commit is contained in:
parent
161ddcb473
commit
ccfa7e1322
@ -68,7 +68,7 @@ exports.handleEvent = function(event) {
|
|||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
case "tw-cancel-popup":
|
case "tw-cancel-popup":
|
||||||
if(this.hasParameter("popup") && event.targetOfCancel !== this.domNode) {
|
if(this.hasParameter("popup") && !$tw.utils.domContains(this.domNode,event.targetOfCancel)) {
|
||||||
this.triggerPopup(event,true);
|
this.triggerPopup(event,true);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
title: $:/templates/TagTemplate
|
title: $:/templates/TagTemplate
|
||||||
|
|
||||||
|
{{tw-tag-popup{
|
||||||
|
<<button popup:MyTiddler qualifyTiddlerTitles:yes><
|
||||||
{{label{
|
{{label{
|
||||||
<<color background:yes default:#888><
|
<<color background:yes default:#888><
|
||||||
<<button popup:MyTiddler qualifyTiddlerTitles:yes><
|
|
||||||
<<view title>>
|
<<view title>>
|
||||||
>>
|
>>
|
||||||
|
}}}
|
||||||
>>
|
>>
|
||||||
}}}
|
}}}
|
||||||
<<reveal state:MyTiddler type:popup qualifyTiddlerTitles:yes><
|
<<reveal state:MyTiddler type:popup qualifyTiddlerTitles:yes><
|
||||||
|
@ -42,6 +42,13 @@ body {
|
|||||||
position: static;
|
position: static;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button.tw-tag-popup {
|
||||||
|
border: none;
|
||||||
|
background: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.tw-tags-wrapper .label {
|
.tw-tags-wrapper .label {
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user