mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
DOCX Input: Fix extra left padding when converting lists. Fixes #2069541 [Calibre Editor: Edit/Convert docx file, wrong indentation for lists](https://bugs.launchpad.net/calibre/+bug/2069541)
This commit is contained in:
parent
a11d5f428a
commit
7651aea788
@ -458,8 +458,7 @@ class Styles:
|
|||||||
/* In word headings only have bold font if explicitly specified,
|
/* In word headings only have bold font if explicitly specified,
|
||||||
similarly the font size is the body font size, unless explicitly set. */
|
similarly the font size is the body font size, unless explicitly set. */
|
||||||
h1, h2, h3, h4, h5, h6 { font-weight: normal; font-size: 1rem }
|
h1, h2, h3, h4, h5, h6 { font-weight: normal; font-size: 1rem }
|
||||||
/* Setting padding-left to zero breaks rendering of lists, so we only set the other values to zero and leave padding-left for the user-agent */
|
ul, ol { margin: 0; padding: 0; padding-inline-start: 0; padding-inline-end: 0; margin-block-start: 0; margin-block-end: 0 }
|
||||||
ul, ol { margin: 0; padding-top: 0; padding-bottom: 0; padding-right: 0 }
|
|
||||||
|
|
||||||
/* The word hyperlink styling will set text-decoration to underline if needed */
|
/* The word hyperlink styling will set text-decoration to underline if needed */
|
||||||
a { text-decoration: none }
|
a { text-decoration: none }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user