diff --git a/css/base.css b/css/base.css index 84190538..cc432e5e 100644 --- a/css/base.css +++ b/css/base.css @@ -223,10 +223,6 @@ sup.\~critical, .text-critical { overflow: visible; } -.inv-profilearea { - min-width: 20%; -} - .inv-profileselect { min-width: 100%; } diff --git a/ts/modules/invites.ts b/ts/modules/invites.ts index e7a2bc67..8432aa0b 100644 --- a/ts/modules/invites.ts +++ b/ts/modules/invites.ts @@ -332,14 +332,14 @@ class DOMInvite implements Invite { this._details.classList.add("card", "~neutral", "@low", "mt-2", "inv-details"); const detailsInner = document.createElement('div') as HTMLDivElement; this._details.appendChild(detailsInner); - detailsInner.classList.add("inv-row", "flex", "flex-row", "justify-between", "align-top"); + detailsInner.classList.add("inv-row", "flex", "flex-row", "flex-wrap", "justify-between", "align-top", "gap-4"); this._left = document.createElement('div') as HTMLDivElement; - this._left.classList.add("flex", "flex-row", "gap-4"); + this._left.classList.add("flex", "flex-row", "flex-wrap", "gap-4", "min-w-full", "sm:min-w-fit", "whitespace-nowrap"); detailsInner.appendChild(this._left); const leftLeft = document.createElement("div") as HTMLDivElement; this._left.appendChild(leftLeft); - leftLeft.classList.add("inv-profilearea"); + leftLeft.classList.add("inv-profilearea", "min-w-full", "sm:min-w-fit"); let innerHTML = `
${window.lang.strings("profile")}