Patch #25320
closedRemove initial indentation of blockquotes for better readability
90%
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
Updated by Go MAEDA almost 8 years ago
I think that source:trunk/app/views/layouts/mailer.html.erb@16087#L28 should be updated if the proposed patch is merged.
Updated by Marius BÄ‚LTEANU almost 8 years ago
The proposed change looks good to me.
Updated by Go MAEDA almost 8 years ago
Go MAEDA wrote:
I think that source:trunk/app/views/layouts/mailer.html.erb@16087#L28 should be updated if the proposed patch is merged.
Sorry, the patch also updates mailer.html.erb. I missed it.
Updated by Jan from Planio www.plan.io almost 8 years ago
- File 0001-Remove-initial-indentation-for-block-quotes.patch 0001-Remove-initial-indentation-for-block-quotes.patch added
Thanks for your feedback, Go and Marius.
Sadly, I overlooked RTL support. Here's an updated patch including the proposed change for RTL writing systems, e.g. Arabic.
Updated by Jan from Planio www.plan.io almost 8 years ago
- File deleted (
0001-Remove-initial-indentation-for-block-quotes.patch)
Updated by Go MAEDA almost 8 years ago
- Status changed from Needs feedback to New
- Target version changed from Candidate for next minor release to 3.4.0
Jean-Philippe Lang wrote:
Sounds good to me.
Setting target version to 3.4.0.
Updated by Jean-Philippe Lang almost 8 years ago
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
Committed, thanks.
Updated by JP Vossen over 7 years ago
I disagree on this one. I prefer the indentation, which I think makes the quote stand out more. Any chance of making this optional?
Updated by Mischa The Evil over 7 years ago
JP Vossen wrote:
[...] Any chance of making this optional?
I don't think so. However, as this change consists of (mostly) theme-able CSS, it should be pretty easy to modify your theme to re-add the indentation.
Updated by budo kaiman over 7 years ago
I'll +1 this, I think the change looks much better.