mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add a border to annotation buttons
This commit is contained in:
parent
807e5f0403
commit
175282da52
@ -177,6 +177,8 @@ class CreateAnnotation:
|
|||||||
cb.style.backgroundColor = get_color('window-background')
|
cb.style.backgroundColor = get_color('window-background')
|
||||||
cb.style.boxSizing = 'border-box'
|
cb.style.boxSizing = 'border-box'
|
||||||
cb.style.padding = '2px'
|
cb.style.padding = '2px'
|
||||||
|
cb.style.border = 'solid 2px currentColor'
|
||||||
|
cb.style.borderRadius = '4px'
|
||||||
cb.classList.add('simple-link')
|
cb.classList.add('simple-link')
|
||||||
cb.addEventListener('click', def(ev):
|
cb.addEventListener('click', def(ev):
|
||||||
ev.preventDefault(), ev.stopPropagation()
|
ev.preventDefault(), ev.stopPropagation()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user