update css

This commit is contained in:
rlx 2019-01-24 10:54:40 +05:30
parent 4f3d5f5ee1
commit 7e42d53e9a

View file

@ -4,7 +4,12 @@ oml.ui.annotation = function(data, $iframe) {
var that = Ox.Element().attr({ var that = Ox.Element().attr({
id: 'a-' + data.id id: 'a-' + data.id
}).css({ }).css({
padding: '16px' backgroundColor: 'white',
color: 'black',
fontFamily: 'serif',
fontSize: '16px',
lineHeight: '22px',
padding: '8px'
}).html(data.text).on({ }).html(data.text).on({
click: function(event) { click: function(event) {
$iframe.postMessage('selectAnnotation', { $iframe.postMessage('selectAnnotation', {