From 7e42d53e9a88354d4cc88b4e8ba4fbb67a50f474 Mon Sep 17 00:00:00 2001 From: rlx Date: Thu, 24 Jan 2019 10:54:40 +0530 Subject: [PATCH] update css --- static/js/annotation.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/static/js/annotation.js b/static/js/annotation.js index f19ec3a..329a8be 100644 --- a/static/js/annotation.js +++ b/static/js/annotation.js @@ -4,7 +4,12 @@ oml.ui.annotation = function(data, $iframe) { var that = Ox.Element().attr({ id: 'a-' + data.id }).css({ - padding: '16px' + backgroundColor: 'white', + color: 'black', + fontFamily: 'serif', + fontSize: '16px', + lineHeight: '22px', + padding: '8px' }).html(data.text).on({ click: function(event) { $iframe.postMessage('selectAnnotation', {