From 3be456c783080131530717f38ac687c795b0fe59 Mon Sep 17 00:00:00 2001 From: Jason Tu Date: Mon, 11 Apr 2016 12:02:39 -0400 Subject: [PATCH] Fix context menu CSS when used with Bootstrap. --- src/css/contextmenu.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/css/contextmenu.css b/src/css/contextmenu.css index 8220433..568c20d 100644 --- a/src/css/contextmenu.css +++ b/src/css/contextmenu.css @@ -13,6 +13,11 @@ div.jsoneditor-contextmenu { z-index: 99999; } +div.jsoneditor-contextmenu ul, +div.jsoneditor-contextmenu li { + box-sizing: content-box; +} + div.jsoneditor-contextmenu ul { position: relative; left: 0;