missed one icon

This commit is contained in:
ygg2 2024-08-29 14:50:52 -04:00
parent d19a17bc3a
commit 20f5b7d24b
3 changed files with 6 additions and 7 deletions

View file

@ -95,9 +95,8 @@ class Channel {
let expires = 1800; let expires = 1800;
const copycontainer = document.createElement("div"); const copycontainer = document.createElement("div");
copycontainer.classList.add("copycontainer"); copycontainer.classList.add("copycontainer");
const copy = document.createElement("img"); const copy = document.createElement("span");
copy.src = "/icons/copy.svg"; copy.classList.add("copybutton", "svgtheme", "svg-copy");
copy.classList.add("copybutton", "svgtheme");
copycontainer.append(copy); copycontainer.append(copy);
copycontainer.onclick = _ => { copycontainer.onclick = _ => {
if (text.textContent) { if (text.textContent) {

View file

@ -109,9 +109,8 @@ class Channel{
let expires=1800; let expires=1800;
const copycontainer=document.createElement("div"); const copycontainer=document.createElement("div");
copycontainer.classList.add("copycontainer") copycontainer.classList.add("copycontainer")
const copy=document.createElement("img"); const copy=document.createElement("span");
copy.src="/icons/copy.svg"; copy.classList.add("copybutton","svgtheme","svg-copy");
copy.classList.add("copybutton","svgtheme");
copycontainer.append(copy); copycontainer.append(copy);
copycontainer.onclick=_=>{ copycontainer.onclick=_=>{
if(text.textContent){ if(text.textContent){

View file

@ -1819,7 +1819,8 @@ form div{
border:solid .03in var(--black); border:solid .03in var(--black);
} }
.copybutton{ .copybutton{
display:inline-block;
height:.2in;
width:.25in; width:.25in;
} }
.copycontainer{ .copycontainer{