mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-09-01 22:29:07 +00:00
feat: bound guild descs so they dont overflow
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
@@ -157,9 +157,11 @@ class Emoji {
|
||||
guildText.classList.add("flexttb", "guildEmojiText");
|
||||
|
||||
const guildName = document.createElement("span");
|
||||
guildName.id = "guildName";
|
||||
guildName.textContent = lookup.guild.name;
|
||||
|
||||
const guildDesc = document.createElement("span");
|
||||
guildDesc.id = "guildDesc";
|
||||
const discoverable = lookup.guild.features.find((_) => _ === "DISCOVERABLE");
|
||||
if (discoverable) {
|
||||
if (lookup.guild.description) {
|
||||
|
||||
@@ -5196,6 +5196,13 @@ img.error::after {
|
||||
.guildEmojiText {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
word-break: break-all;
|
||||
#guildDesc {
|
||||
color: var(--secondary-text-soft);
|
||||
font-size: 0.9em;
|
||||
max-height: 15em;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
}
|
||||
|
||||
.optionElement:has(.friendGroupSelect) {
|
||||
|
||||
Reference in New Issue
Block a user