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:
Kovid Goyal 2022-08-29 07:33:30 +05:30
parent a3eaabbd93
commit a3e3c425c5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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);