Last active
November 5, 2024 15:19
-
-
Save selfthinker/d82dbdbd5da8c84652eb73080052318c to your computer and use it in GitHub Desktop.
Fix some usability issues on Padlet.org
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==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