mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
E-book viewer: Lookup: Google dictionary: Add some padding at the left and right margins. Fixes #1986963 [No padding/margin within the dictionary frame within EPUB](https://bugs.launchpad.net/calibre/+bug/1986963)
This commit is contained in:
parent
a3eaabbd93
commit
a3e3c425c5
@ -32,6 +32,8 @@
|
||||
cc.style.position = 'absolute';
|
||||
cc.style.top = '0';
|
||||
cc.style.left = '0';
|
||||
cc.style.paddingLeft = '6px';
|
||||
cc.style.paddingRight = '6px';
|
||||
var remove = ['sfcnt', 'top_nav', 'before-appbar', 'appbar', 'searchform', 'easter-egg', 'topstuff'];
|
||||
remove.forEach(function(id) {
|
||||
var elem = document.getElementById(id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user