Simplify server icon add server button CSS
This commit is contained in:
parent
5e9405207b
commit
c436335d8b
3 changed files with 3 additions and 14 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue