Markdown editor: Fix the redo button + remove the button hover flicker

This commit is contained in:
Kenn Jacobsen
2018-11-12 10:29:11 +01:00
committed by Sebastiaan Janssen
parent 573db0d142
commit e3e3e06458
2 changed files with 7 additions and 2 deletions

View File

@@ -26,6 +26,11 @@
width: 100%;
}
/* unset the negative margin applied in button-groups.less to avoid flickering when hovering the button bar */
.wmd-panel .btn-toolbar .btn-group>.btn+.btn {
margin-left: 0;
}
/*
.icon-link,
.icon-blockquote,

View File

@@ -1390,7 +1390,7 @@
"Redo - Ctrl+Y" :
"Redo - Ctrl+Shift+Z"; // mac and other non-Windows platforms
buttons.redo = makeButton("wmd-redo-button", redoTitle, "icon-share-alt", null, group4);
buttons.redo = makeButton("wmd-redo-button", redoTitle, "icon-redo", null, group4);
buttons.redo.execute = function (manager) { if (manager) manager.redo(); };
if (helpOptions) {
@@ -2107,4 +2107,4 @@
}
})();
})();