diff --git a/meshchatx/src/frontend/components/LxmfUserIcon.vue b/meshchatx/src/frontend/components/LxmfUserIcon.vue index 80a0e8a..faa04e0 100644 --- a/meshchatx/src/frontend/components/LxmfUserIcon.vue +++ b/meshchatx/src/frontend/components/LxmfUserIcon.vue @@ -4,7 +4,7 @@
@@ -13,14 +13,14 @@ v-else-if="iconName" class="p-[10%] rounded-full shrink-0 flex items-center justify-center" :style="[iconStyle, { 'background-color': finalBackgroundColor }]" - :class="iconClass || 'size-6'" + :class="resolvedShellClass" >
@@ -61,6 +61,19 @@ export default { }, }, computed: { + resolvedShellClass() { + const extra = (this.iconClass || "").trim(); + if ( + /\bsize-[\w.]+\b/.test(extra) || + /\bw-[\w.]+\b/.test(extra) || + /\bh-[\w.]+\b/.test(extra) || + /\bmin-w-/.test(extra) || + /\bmin-h-/.test(extra) + ) { + return extra; + } + return ["size-6", extra].filter(Boolean).join(" ").trim(); + }, finalForegroundColor() { return this.iconForegroundColour && this.iconForegroundColour !== "" ? this.iconForegroundColour diff --git a/meshchatx/src/frontend/components/archives/ArchivesPage.vue b/meshchatx/src/frontend/components/archives/ArchivesPage.vue index c9f5f9d..30856ba 100644 --- a/meshchatx/src/frontend/components/archives/ArchivesPage.vue +++ b/meshchatx/src/frontend/components/archives/ArchivesPage.vue @@ -233,6 +233,7 @@