mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +08:00
centering link inside panel
This commit is contained in:
parent
1e5f34567a
commit
512d6d2f7f
@ -71,6 +71,8 @@ namespace osu.Game.Overlays.Wiki
|
||||
DocumentMargin = new MarginPadding(0);
|
||||
}
|
||||
|
||||
public override MarkdownTextFlowContainer CreateTextFlow() => base.CreateTextFlow().With(f => f.TextAnchor = Anchor.TopCentre);
|
||||
|
||||
protected override MarkdownHeading CreateHeading(HeadingBlock headingBlock) => new WikiPanelHeading(headingBlock)
|
||||
{
|
||||
IsFullWidth = IsFullWidth,
|
||||
|
Loading…
Reference in New Issue
Block a user