We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eab2930 commit 81d2b65Copy full SHA for 81d2b65
src/util.ts
@@ -78,8 +78,10 @@ export async function archiveConversation(browser: Browser, id: string) {
78
while (matIcons.length > 0) {
79
const matIcon = matIcons[0]!
80
const iconName = matIcon.getAttribute("fonticon")
81
+ const size = getComputedStyle(matIcon).fontSize
82
+
83
const img = document.createElement("img")
- img.src = `https://fonts.gstatic.com/s/i/short-term/release/materialsymbolsoutlined/${iconName}/default/${getComputedStyle(matIcon).fontSize}.svg`
84
+ img.src = `https://fonts.gstatic.com/s/i/short-term/release/materialsymbolsoutlined/${iconName}/default/${size}.svg`
85
matIcon.insertAdjacentElement("afterend", img)
86
matIcon.remove()
87
}
0 commit comments