Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions features/features.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
[
{
"title": "Scroll Project Titles",
"description": "Allows you to scroll and view the entire title of projects that you don't own.",
"credits": ["rgantzos"],
"urls": ["https://scratch.mit.edu/users/rgantzos/"],
"file": "scroll-project-titles",
"type": ["Editor"],
"tags": ["New", "Recommended"],
"dynamic": true
},
{
"title": "Search Context Menus",
"description": "Hover over any username on the website to display the profile picture, username and follower count.",
Expand Down
12 changes: 12 additions & 0 deletions features/scroll-project-titles.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
ScratchTools.styles.add(`
.project-title.no-edit {
overflow-x: scroll !important;
text-overflow: clip !important;
}`, "scroll project titles")

ScratchTools.setDisable("scroll-project-titles", function() {
if (document.querySelector(".project-title.no-edit")) {
document.querySelector(".project-title.no-edit").scrollLeft = 0
}
ScratchTools.styles.removeStyleById("scroll project titles")
})