modrinth / code

The Modrinth monorepo containing all code which powers Modrinth!
https://modrinth.com
Other
985 stars 187 forks source link

Consistent alignment for 'project settings page confirmation' buttons #2524

Closed Khazoda closed 2 weeks ago

Khazoda commented 1 month ago

Currently, project pages such as General, Tags, Links etc. have inconsistent locations for the 'Save Changes' button:

Right Side: General, Tags, Links Left Side: Description, License

This PR changes 1 line of css for the .button-group class, unifying the buttons on the left side of the button group.

Things to consider:

Button on the left

image

Khazoda commented 1 month ago

I think it'd be best to scope the justify-content: flex-start style for .button-group to the project editing pages. Changing it globally would impact many locations which shouldn't be impacted e.g. image

Khazoda commented 1 month ago

Styles are now scoped to [type]/[id]/settings/index [type]/[id]/settings/links [type]/[id]/settings/tags