Skip to content

PageHeader: Fix title's leading padding in RTL environment

ivan tkachenko requested to merge work/ratijas/kf6/page-padding into master

Flat is better than nested.
Sparse is better than dense.
Readability counts.
The Zen of Python, by Tim Peters a.k.a. >>> import this

This extra smallSpacing was present in expression for LeftToRight layout direction, but was missing from RTL counterpart, probably due to how unreadable it was in a form of huge one-liner at that time. Reminder to always use small spacing in code, split it in comprehensible chunks :)

Amends adebba51 (well, kinda)


Description Before After
Gallery RTL Gallery_-_Before Gallery_-_After
Discover RTL Before_-_RTL After_-_RTL
Discover
"default" left-to-right
no changes
Before_-_LTR After_-_LTR

Merge request reports

Loading