From 3a305b8258782797b328f2ce46e8bb74e9603594 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Mon, 28 Nov 2016 01:20:23 +0800 Subject: Update editor other cursor classes and adding option for other cursors features in CodeMirror --- public/css/index.css | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'public/css/index.css') diff --git a/public/css/index.css b/public/css/index.css index d586128e..b8779774 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -241,16 +241,7 @@ body { .dropdown-menu > li > a { cursor: pointer; } -.other-cursors { - position:relative; - z-index:3; -} -.other-cursor { - width: 0px; - position: absolute; - border-right: none; -} -.dropdown-menu.other-cursor { +.dropdown-menu.CodeMirror-other-cursor { transition: none; } .cursortag { @@ -288,7 +279,7 @@ div[contenteditable]:empty:not(:focus):before{ .dropdown-menu .emoji { margin-bottom: 0 !important; } -.dropdown-menu.other-cursor { +.dropdown-menu.CodeMirror-other-cursor { max-height: 50vh; width: auto !important; overflow: auto; -- cgit v1.2.3