Project

General

Profile

Actions

Patch #25320

closed

Remove initial indentation of blockquotes for better readability

Added by Jan from Planio www.plan.io about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
Due date:
% Done:

90%

Estimated time:

Description

Currently, quoted text in Redmine is rendered with the blockquote element which is styled to be a grey vertical bar.

On the second and onward levels, the indentation of quotes equals the width of the bar plus some padding to the right.

Only on the first level, there is some additional margin to the left indenting the entire quote block even more. I find quotes to be more readable and more visually appealing if this margin was removed. Hence this patch.

How it looks now:

How it will look with the patch:

The patch will also apply this to HTML in notification emails.


Files

blockquotes_after.png (104 KB) blockquotes_after.png Jan from Planio www.plan.io, 2017-03-14 07:07
blockquotes_before.png (104 KB) blockquotes_before.png Jan from Planio www.plan.io, 2017-03-14 07:07
0001-Remove-initial-indentation-for-block-quotes.patch (2.45 KB) 0001-Remove-initial-indentation-for-block-quotes.patch Jan from Planio www.plan.io, 2017-03-14 09:20
Actions

Also available in: Atom PDF