mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-10-15 13:20:05 +00:00
rid of weird shading
This commit is contained in:
@@ -1361,7 +1361,7 @@ class Message extends SnowFlake {
|
||||
count.textContent = I18n.poll.count("" + c, per + "");
|
||||
aarea.append(count);
|
||||
if (per)
|
||||
aarea.style.background = `linear-gradient(to right, var(--green) ${per}%, var(--bg) ${100 - per}%)`;
|
||||
aarea.style.background = `linear-gradient(to right, var(--green) ${per}%, var(--bg) ${per}%)`;
|
||||
}
|
||||
aarea.onclick = () => check.click();
|
||||
pollbody.append(aarea);
|
||||
|
||||
Reference in New Issue
Block a user