Skip to content

Instantly share code, notes, and snippets.

@selfthinker
Last active November 5, 2024 15:19
Show Gist options
  • Save selfthinker/d82dbdbd5da8c84652eb73080052318c to your computer and use it in GitHub Desktop.
Save selfthinker/d82dbdbd5da8c84652eb73080052318c to your computer and use it in GitHub Desktop.
Fix some usability issues on Padlet.org
/* ==UserStyle==
@name Fix some usability issues on Padlet.org
@namespace github.com/alphagov
@description Fix some usability issues on Padlet.org
@version 1.0.1
@license MIT
@author Crown Copyright, Government Digital Service
@homepageURL https://gist.github.com/selfthinker/d82dbdbd5da8c84652eb73080052318c
@updateURL https://gist.githubusercontent.com/selfthinker/d82dbdbd5da8c84652eb73080052318c/raw/padlet-usability.user.css
==/UserStyle== */
@-moz-document domain("padlet.org") {
/* Remove background images */
body {
background-image: none !important;
}
body[data-background-luminance="dark"] {
background-color: #333 !important;
}
body[data-background-luminance="light"] {
background-color: #ccc !important;
}
/* Add a border around comment inputs */
div.comment-rich-editor div[contenteditable=true],
button[data-testid=addCommentButton] {
border: 1px solid !important;
}
/* Add text to the button for adding a post */
button[aria-label="Add post to this section"] span {
width: auto !important;
}
button[aria-label="Add post to this section"] span::after {
content: "Add post";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment