style chat grid

This commit is contained in:
marlon-erler
2024-07-20 13:30:01 +02:00
parent d9f0f400f8
commit 6b269719a1
6 changed files with 79 additions and 5 deletions
+2 -2
View File
@@ -928,7 +928,7 @@
// src/View/Components/chatEntry.tsx
function ChatEntry(chatModel) {
return /* @__PURE__ */ createElement("div", { class: "tile flex-column justify-end align-start" }, /* @__PURE__ */ createElement("h2", null, chatModel.info.primaryChannel));
return /* @__PURE__ */ createElement("button", { class: "chat-entry tile" }, /* @__PURE__ */ createElement("span", { class: "shadow" }, chatModel.info.primaryChannel), /* @__PURE__ */ createElement("h2", null, chatModel.info.primaryChannel));
}
var ChatModelToChatEntry = (chatModel) => {
return ChatEntry(chatModel);
@@ -1024,7 +1024,7 @@
)), /* @__PURE__ */ createElement(
"div",
{
class: "grid gap",
id: "chat-grid",
"children:append": [chatListViewModel2.chatModels, ChatModelToChatEntry]
}
));