fix overflow
This commit is contained in:
Vendored
+13
-4
@@ -206,16 +206,17 @@ main {
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
#chat-page #main {
|
#chat-page #main {
|
||||||
|
width: calc(100% - var(--ribbon-size));
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
flex: 1;
|
|
||||||
}
|
}
|
||||||
#chat-page #main > div,
|
#chat-page #main > div,
|
||||||
#chat-page #main .content {
|
#chat-page #main .content {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
#chat-page #main .content {
|
#chat-page #main .content {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
@@ -229,10 +230,14 @@ main {
|
|||||||
#chat-page #ribbon {
|
#chat-page #ribbon {
|
||||||
width: var(--ribbon-size);
|
width: var(--ribbon-size);
|
||||||
border-right: 1px solid var(--border);
|
border-right: 1px solid var(--border);
|
||||||
overflow: auto;
|
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding-bottom: var(--safe-area-bottom);
|
padding-bottom: var(--safe-area-bottom);
|
||||||
}
|
}
|
||||||
|
#chat-page #ribbon > span {
|
||||||
|
height: 100%;
|
||||||
|
flex: 1;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
#chat-page #main .toolbar {
|
#chat-page #main .toolbar {
|
||||||
height: var(--ribbon-size);
|
height: var(--ribbon-size);
|
||||||
border-bottom: 1px solid var(--border);
|
border-bottom: 1px solid var(--border);
|
||||||
@@ -260,9 +265,13 @@ main {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: var(--control-height);
|
max-width: var(--control-height);
|
||||||
height: var(--control-height);
|
height: var(--control-height);
|
||||||
|
min-height: var(--control-height);
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
#chat-page #ribbon > button {
|
||||||
|
margin-top: var(--gap-between-tiles);
|
||||||
|
}
|
||||||
|
|
||||||
/* src/View/homePage.css */
|
/* src/View/homePage.css */
|
||||||
#home-page > div {
|
#home-page > div {
|
||||||
|
|||||||
Vendored
+2
-2
@@ -953,7 +953,7 @@
|
|||||||
return mainContent.value = MessagePage(chatViewModel);
|
return mainContent.value = MessagePage(chatViewModel);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return /* @__PURE__ */ createElement("article", { id: "chat-page", "set:color": chatViewModel.color }, /* @__PURE__ */ createElement("div", null, /* @__PURE__ */ createElement("div", { id: "ribbon" }, /* @__PURE__ */ createElement("span", null, /* @__PURE__ */ createElement(
|
return /* @__PURE__ */ createElement("article", { id: "chat-page", "set:color": chatViewModel.color }, /* @__PURE__ */ createElement("div", null, /* @__PURE__ */ createElement("div", { id: "ribbon" }, /* @__PURE__ */ createElement(
|
||||||
"button",
|
"button",
|
||||||
{
|
{
|
||||||
class: "ghost",
|
class: "ghost",
|
||||||
@@ -961,7 +961,7 @@
|
|||||||
"on:click": chatViewModel.close
|
"on:click": chatViewModel.close
|
||||||
},
|
},
|
||||||
/* @__PURE__ */ createElement("span", { class: "icon" }, "close")
|
/* @__PURE__ */ createElement("span", { class: "icon" }, "close")
|
||||||
)), /* @__PURE__ */ createElement("span", null, ChatViewToggleButton(
|
), /* @__PURE__ */ createElement("span", null, ChatViewToggleButton(
|
||||||
translations.chatPage.pages.calendar,
|
translations.chatPage.pages.calendar,
|
||||||
"calendar_month",
|
"calendar_month",
|
||||||
"calendar" /* Calendar */,
|
"calendar" /* Calendar */,
|
||||||
|
|||||||
+16
-6
@@ -37,18 +37,19 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#chat-page #main {
|
#chat-page #main {
|
||||||
|
width: calc(100% - var(--ribbon-size));
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
flex: 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#chat-page #main > div,
|
#chat-page #main > div,
|
||||||
#chat-page #main .content {
|
#chat-page #main .content {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
flex: 1;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
#chat-page #main .content {
|
#chat-page #main .content {
|
||||||
@@ -68,13 +69,17 @@
|
|||||||
width: var(--ribbon-size);
|
width: var(--ribbon-size);
|
||||||
border-right: 1px solid var(--border);
|
border-right: 1px solid var(--border);
|
||||||
|
|
||||||
overflow: auto;
|
|
||||||
|
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
||||||
padding-bottom: var(--safe-area-bottom);
|
padding-bottom: var(--safe-area-bottom);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#chat-page #ribbon > span {
|
||||||
|
height: 100%;
|
||||||
|
flex: 1;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
#chat-page #main .toolbar {
|
#chat-page #main .toolbar {
|
||||||
height: var(--ribbon-size);
|
height: var(--ribbon-size);
|
||||||
border-bottom: 1px solid var(--border);
|
border-bottom: 1px solid var(--border);
|
||||||
@@ -110,7 +115,12 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: var(--control-height);
|
max-width: var(--control-height);
|
||||||
height: var(--control-height);
|
height: var(--control-height);
|
||||||
|
min-height: var(--control-height);
|
||||||
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#chat-page #ribbon > button {
|
||||||
|
margin-top: var(--gap-between-tiles);
|
||||||
|
}
|
||||||
|
|||||||
@@ -25,15 +25,13 @@ export function ChatPage(chatViewModel: ChatViewModel) {
|
|||||||
<article id="chat-page" set:color={chatViewModel.color}>
|
<article id="chat-page" set:color={chatViewModel.color}>
|
||||||
<div>
|
<div>
|
||||||
<div id="ribbon">
|
<div id="ribbon">
|
||||||
<span>
|
<button
|
||||||
<button
|
class="ghost"
|
||||||
class="ghost"
|
aria-label={translations.chatPage.closeChatAudioLabe}
|
||||||
aria-label={translations.chatPage.closeChatAudioLabe}
|
on:click={chatViewModel.close}
|
||||||
on:click={chatViewModel.close}
|
>
|
||||||
>
|
<span class="icon">close</span>
|
||||||
<span class="icon">close</span>
|
</button>
|
||||||
</button>
|
|
||||||
</span>
|
|
||||||
|
|
||||||
<span>
|
<span>
|
||||||
{ChatViewToggleButton(
|
{ChatViewToggleButton(
|
||||||
|
|||||||
Reference in New Issue
Block a user