Bug 385263

Summary: Center text block horizontally
Product: [Frameworks and Libraries] kmarkdownwebview Reporter: Friedrich W. H. Kossebau <kossebau>
Component: generalAssignee: Friedrich W. H. Kossebau <kossebau>
Status: RESOLVED INTENTIONAL    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 0.2.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Friedrich W. H. Kossebau 2017-10-01 14:26:36 UTC
While the (default) CSS has a maximum width for the text, the resulting block is shown left-aligned.

Look into making it centered instead.
Comment 1 Friedrich W. H. Kossebau 2017-11-12 16:08:07 UTC
Having looked into things, markdown.css actually centers the complete document. But it left aligns the text body and the headers in the document, while the headers can grow to fill quite some size, the body though being restricted to a smaller size. Which results in the text body to be not centered to the viewport usually.

I picked markdown.css to avoid getting into the business of doing CSS, as I lack designer knowledge.

So instead of starting random changes to the original design, any future effort should rather go into solving https://bugs.kde.org/show_bug.cgi?id=385219 (Support custom stylesheet), so everyone can please themselves as they prefer.