1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 21:29:42 +02:00

document/wysiwig: no margin for sublists

When having a list with sublists in a `markdown` section like this

  * top-level
  * another one
    * sub-elem 1
    * sub-elem 2

then documize will create a margin of 15px before and after the sublist
which is rather unintuitive as this will create the wrong impression
that these bullet-points have no relation to the parent one even though
this is the most common semantic reason for sublists.

This patch removes the margin at the top and bottom for those kinds of
sublists.
This commit is contained in:
Maximilian Bosch 2020-10-31 21:43:30 +01:00
parent 806efd7eac
commit 06bf9efcfc
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -39,6 +39,11 @@
line-height: 1.8rem; line-height: 1.8rem;
} }
ol ol, ul ul {
margin-top: 0;
margin-bottom: 0;
}
ol { ol {
li { li {
// list-style-type: decimal; // list-style-type: decimal;