mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-20 04:50:03 +00:00
Fixed zooming chooser
This commit is contained in:
parent
ee0aadf8cd
commit
901b212a66
@ -149,7 +149,19 @@ exports.handleEvent = function(event) {
|
|||||||
|
|
||||||
exports.executeMacro = function() {
|
exports.executeMacro = function() {
|
||||||
this.chooserDisplayed = false;
|
this.chooserDisplayed = false;
|
||||||
return $tw.Tree.Element("div",{},[]);
|
var attributes = {
|
||||||
|
style: {
|
||||||
|
"position": "absolute",
|
||||||
|
"left": "0",
|
||||||
|
"top": "0",
|
||||||
|
"min-width": "16px",
|
||||||
|
"height": "100%" // Makes the height the same as the body, since the body is position:relative
|
||||||
|
}
|
||||||
|
};
|
||||||
|
if(this.classes) {
|
||||||
|
attributes["class"] = this.classes.slice(0);
|
||||||
|
}
|
||||||
|
return $tw.Tree.Element("div",attributes,[]);
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
@ -159,14 +159,6 @@ a.tw-tiddlylink-missing {
|
|||||||
font-family: Helvetica, Arial, sans-serif;
|
font-family: Helvetica, Arial, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navigation-panel {
|
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
|
||||||
top: 0;
|
|
||||||
min-width: 16px;
|
|
||||||
height: 100%; /* Makes the element the same height as the body, since the body is position: relative */
|
|
||||||
}
|
|
||||||
|
|
||||||
.navigation-panel ul {
|
.navigation-panel ul {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user