mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 20:13:22 +08:00
add bottom margin for paragraph
This commit is contained in:
parent
cd211de729
commit
4068881096
@ -76,6 +76,9 @@ namespace osu.Game.Overlays.Wiki
|
||||
|
||||
public override MarkdownTextFlowContainer CreateTextFlow() => base.CreateTextFlow().With(f => f.TextAnchor = Anchor.TopCentre);
|
||||
|
||||
protected override MarkdownParagraph CreateParagraph(ParagraphBlock paragraphBlock, int level)
|
||||
=> base.CreateParagraph(paragraphBlock, level).With(p => p.Margin = new MarginPadding { Bottom = 10 });
|
||||
|
||||
protected override MarkdownHeading CreateHeading(HeadingBlock headingBlock) => new WikiPanelHeading(headingBlock)
|
||||
{
|
||||
IsFullWidth = IsFullWidth,
|
||||
|
Loading…
Reference in New Issue
Block a user