mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-07-29 09:49:20 +00:00
update to style
This commit is contained in:
@@ -929,7 +929,12 @@ class Localuser {
|
||||
if (!statuselm || !VoiceGuild || !VoiceButtons) throw new Error("Missing status element");
|
||||
|
||||
statuselm.textContent = I18n.Voice.status[status]();
|
||||
VoiceGuild.textContent = `${channel.guild.properties.name} / ${channel.name}`;
|
||||
const guildName = document.createElement("span");
|
||||
guildName.textContent = channel.guild.properties.name;
|
||||
const channelName = document.createElement("span");
|
||||
channelName.textContent = channel.name;
|
||||
VoiceGuild.innerHTML = ``;
|
||||
VoiceGuild.append(guildName, " / ", channelName);
|
||||
VoiceGuild.onclick = () => {
|
||||
this.goToChannel(channel.id);
|
||||
};
|
||||
|
||||
@@ -1482,6 +1482,9 @@ span.instanceStatus {
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
width: fit-content;
|
||||
span {
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
#VoiceGuild:hover {
|
||||
text-decoration: underline;
|
||||
|
||||
Reference in New Issue
Block a user