mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-02 12:19:11 +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();
|
||||
return false;
|
||||
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);
|
||||
}
|
||||
break;
|
||||
|
@ -1,10 +1,12 @@
|
||||
title: $:/templates/TagTemplate
|
||||
|
||||
{{tw-tag-popup{
|
||||
<<button popup:MyTiddler qualifyTiddlerTitles:yes><
|
||||
{{label{
|
||||
<<color background:yes default:#888><
|
||||
<<button popup:MyTiddler qualifyTiddlerTitles:yes><
|
||||
<<view title>>
|
||||
>>
|
||||
}}}
|
||||
>>
|
||||
}}}
|
||||
<<reveal state:MyTiddler type:popup qualifyTiddlerTitles:yes><
|
||||
|
@ -42,6 +42,13 @@ body {
|
||||
position: static;
|
||||
}
|
||||
|
||||
button.tw-tag-popup {
|
||||
border: none;
|
||||
background: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.tw-tags-wrapper .label {
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user