Template talk:Intro to single

Latest comment: 4 years ago by Andrybak in topic Line height of main title

Increase padding on lead edit

I'd argue the padding should be more like 50 or even 60px on the lead. — Hugh (talk) 20:02, 28 February 2018 (UTC)Reply

@Hl: Good plan. I've increased the side padding to 60px, but left the top/bottom padding as 30px so that that section doesn't get too tall. A max-width parameter could also be used to restrict it to not get too wide. T.Shafee(Evo&Evo)talk 23:34, 28 February 2018 (UTC)Reply

Line height of main title edit

The line height of the main title is currently displaying at 1.5em, while the text is at 250%. The text extends beyond its background. I'm using Monobook in Chrome, Version 80.0.3987.149 (Official Build) (64-bit). --RexxS (talk) 18:16, 30 March 2020 (UTC)Reply

RexxS, fixed. I used 120% as it is the bigger of most popular default values: The default line-height is about 110% to 120% for the majority of the browsers. —⁠andrybak (talk) 19:33, 30 March 2020 (UTC)Reply
Thanks Andrybak, looking at Help:Introduction, I see about 1px to 2px of residual background below the descender of the 'p' in 'Wikipedia'. That's acceptable, so your choice of 120% is about the minimum workable. I also tested 110% (not enough) and 130% (looked good to me). Cheers --RexxS (talk) 21:57, 30 March 2020 (UTC)Reply
@RexxS and Andrybak: I'd prefer to see just a little bit more of a buffer if that's possible. Since this is a space for newcomers, it should have a friendly roomier design to it. Sdkb (talk) 00:30, 31 March 2020 (UTC)Reply
@Sdkb and Andrybak: I've just pushed the line height up to 130%. Does that look better to you? The other option would be to increase the padding as the class is only used in the div containing the title, but it's best to get the line height right first. --RexxS (talk) 01:52, 31 March 2020 (UTC)Reply
I pushed it up a little more; looks good to me now. Sdkb (talk) 01:58, 31 March 2020 (UTC)Reply
@RexxS and Sdkb:, I've looked at what Vector and MonoBook do for line-height by default and switched 150% to 1.6em. —⁠andrybak (talk) 06:18, 31 March 2020 (UTC)Reply