Simplify server icon add server button CSS
This commit is contained in:
@@ -344,7 +344,7 @@ class Localuser {
|
|||||||
br.id = "bottomseparator";
|
br.id = "bottomseparator";
|
||||||
const div = document.createElement("div");
|
const div = document.createElement("div");
|
||||||
div.textContent = "+";
|
div.textContent = "+";
|
||||||
div.classList.add("addserver", "servericon");
|
div.classList.add("home", "servericon");
|
||||||
serverlist.appendChild(div);
|
serverlist.appendChild(div);
|
||||||
div.onclick = _ => {
|
div.onclick = _ => {
|
||||||
console.log("clicked :3");
|
console.log("clicked :3");
|
||||||
|
@@ -364,7 +364,7 @@ class Localuser{
|
|||||||
|
|
||||||
const div=document.createElement("div");
|
const div=document.createElement("div");
|
||||||
div.textContent="+";
|
div.textContent="+";
|
||||||
div.classList.add("addserver","servericon")
|
div.classList.add("home","servericon")
|
||||||
serverlist.appendChild(div)
|
serverlist.appendChild(div)
|
||||||
div.onclick=_=>{
|
div.onclick=_=>{
|
||||||
console.log("clicked :3")
|
console.log("clicked :3")
|
||||||
|
@@ -473,18 +473,7 @@ p {
|
|||||||
user-select: none;
|
user-select: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.addserver{
|
|
||||||
border-radius: 50%;
|
|
||||||
width: .5in;
|
|
||||||
height: .5in;
|
|
||||||
background-color: var(--blank-bg);
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
font-size: 200%;
|
|
||||||
user-select: none;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
#channelw {
|
#channelw {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
Reference in New Issue
Block a user