We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c43b9a9 commit 877e79fCopy full SHA for 877e79f
src/popup/popup.js
@@ -122,9 +122,16 @@ function makeList(section, ecoindex) {
122
pageLink.textContent = ecoindex.url;
123
pageLink.setAttribute("href", ecoindex.url);
124
pageLink.style.paddingLeft = "5px";
125
+ pageLink.style.textDecoration = "none";
126
pageLink.setAttribute("target", "_blank");
127
li.appendChild(pageLink);
128
129
+ const pageLinkDate = document.createElement("span");
130
+ pageLinkDate.style.fontSize = "0.8rem";
131
+ pageLinkDate.textContent = `(${convertDate(ecoindex.date)})`;
132
+ pageLinkDate.style.paddingLeft = "5px";
133
+ pageLink.appendChild(pageLinkDate);
134
+
135
const ul = section.getElementsByTagName("ul")[0];
136
ul.appendChild(li);
137
}
0 commit comments