Skip to content

Prevent unnecessary padding in content editor

Himanshu Kapoor requested to merge 335970-list-spacing into master

What does this MR do?

Issue: #335970 (closed)

Certain elements like td, th and li, if containing only a single block element, show up with unnecessary margin. This CSS forces margin in such cases to be 0.

Screenshots or Screencasts (strongly suggested)

Before After
image image

How to setup and validate locally (strongly suggested)

  1. Create a new wiki page or edit an existing one.
  2. Click "Use new editor".
  3. Insert a bullet list with a few items.

You will notice that the unnecessary padding is gone.

Does this MR meet the acceptance criteria?

Conformity

Related to #335970 (closed)

Edited by Himanshu Kapoor

Merge request reports