mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-23 03:27:05 -04:00
Updated codemirror to support panel and match-highlighter and revert some unnecessary changes
This commit is contained in:
parent
33cdec2fd4
commit
6e40df2887
8 changed files with 27 additions and 23 deletions
|
@ -97,7 +97,7 @@
|
|||
var height = Math.max(bottom - top, 3);
|
||||
|
||||
var elt = frag.appendChild(document.createElement("div"));
|
||||
elt.style.cssText = "position: absolute; right: 0px; width: " + Math.max(cm.display.barWidth * 2, 2) + "px; top: "
|
||||
elt.style.cssText = "position: absolute; right: 0px; width: " + Math.max(cm.display.barWidth * 1.5, 2) + "px; top: "
|
||||
+ (top + this.buttonHeight) + "px; height: " + height + "px";
|
||||
elt.className = this.options.className;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue