Skip to content

Conversation

@tonievalue
Copy link
Contributor

@tonievalue tonievalue commented Apr 29, 2025

Better visualization of function type, in style of current MTA wiki. Visualization comes in form of discreet badge in page header, which replaces previous small mention in page content.

Selected approach isn't the cleanest implementation, but for sure is the cheapest one. Proper approach will require creating custom layout that will mimic the Starlight one, which potentially can cause problems when upgrading Starlight to newer versions.

Presentation, how badges look on page:
image
image
image

@Fernando-A-Rocha
Copy link
Collaborator

Hi @tonievalue Thank you for the PR with a proper description and clear commit messages. Overall, good job!

I think it would look better to set the width of the horizontal separator line to the page width, like on the current wiki.
image

image

Copy link
Collaborator

@Fernando-A-Rocha Fernando-A-Rocha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done. Thanks for having used CSS variables. Good practices.

@Fernando-A-Rocha Fernando-A-Rocha merged commit a086559 into multitheftauto:main Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants