fermyon / developer

This is the home for developer.fermyon.com
https://developer.fermyon.com
Apache License 2.0
51 stars 66 forks source link

CLI Reference defaults to oldest version of Spin #1289

Closed flynnduism closed 3 months ago

flynnduism commented 3 months ago

Screen Shot 2024-05-17 at 10 40 53 AM

Ideally the order of the version tabs should be reversed.

Seems like a markdown render issue that may need some hacking to reverse the sort order.

tpmccallum commented 3 months ago

Hi @karthik2804 Just curious what you had in mind for a fix (so that we can have the default tab open to the latest version)? I can make the edit, just don't want to duplicate work if you already had an idea in the works.

karthik2804 commented 3 months ago

I have not started but it is pretty straightforward. we just need to add a classname to the <ul> element and then have that class have the following style

display: flex;
flex-direction: row-reverse;