update css
This commit is contained in:
parent
4f3d5f5ee1
commit
7e42d53e9a
1 changed files with 6 additions and 1 deletions
|
@ -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', {
|
||||||
|
|
Loading…
Reference in a new issue