Skip to content

Instantly share code, notes, and snippets.

@ZoeBijl
Last active November 17, 2022 19:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ZoeBijl/581fb6f5575b2ef5b5a5b19906adffaf to your computer and use it in GitHub Desktop.
Save ZoeBijl/581fb6f5575b2ef5b5a5b19906adffaf to your computer and use it in GitHub Desktop.
Custom CSS to go from "Publish" to "Toot!" in Mastodon V4
/*
Instructions:
Place at instance.domain/admin/settings/appearance.
Changelog:
- V1:
-- initial release
- V1.1:
-- added support for the top bar button
*/
.ui__header__links [href="/publish"] span {
display:none;
}
.compose-form__publish-button-wrapper .button {
display: flex;
font-size: 0;
}
.compose-form__publish-button-wrapper .button::after,
.ui__header__links [href="/publish"]::after {
content: ' Toot!';
font-size: 1rem;
display: block;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment