Skip to content

Commit

Permalink
Merge pull request #73 from ItsVipra/71-proplate-title
Browse files Browse the repository at this point in the history
add title attribute to proplate
  • Loading branch information
ItsVipra authored Aug 1, 2023
2 parents d2a992e + 70e9d20 commit 5cc45f5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/content_scripts/protoots.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ async function addProplate(element) {
return;
}
proplate.innerText = pronouns;
//TODO?: alt text
proplate.title = pronouns;
proplate.classList.add("protoots-proplate");
if (contributorList.includes(accountName)) {
//i think you can figure out what this does on your own
Expand Down
1 change: 0 additions & 1 deletion src/styles/proplate.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
border-radius: 0.25rem;
margin-left: 0.5rem;
display: inline-flex;
text-transform: lowercase;
animation: proplate-fadein 0.15s linear;
font-weight: 500;

Expand Down

0 comments on commit 5cc45f5

Please sign in to comment.