fix overflow
This commit is contained in:
+16
-6
@@ -37,18 +37,19 @@
|
||||
}
|
||||
|
||||
#chat-page #main {
|
||||
width: calc(100% - var(--ribbon-size));
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
#chat-page #main > div,
|
||||
#chat-page #main .content {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
flex: 1;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#chat-page #main .content {
|
||||
@@ -68,13 +69,17 @@
|
||||
width: var(--ribbon-size);
|
||||
border-right: 1px solid var(--border);
|
||||
|
||||
overflow: auto;
|
||||
|
||||
justify-content: space-between;
|
||||
|
||||
padding-bottom: var(--safe-area-bottom);
|
||||
}
|
||||
|
||||
#chat-page #ribbon > span {
|
||||
height: 100%;
|
||||
flex: 1;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#chat-page #main .toolbar {
|
||||
height: var(--ribbon-size);
|
||||
border-bottom: 1px solid var(--border);
|
||||
@@ -110,7 +115,12 @@
|
||||
width: 100%;
|
||||
max-width: var(--control-height);
|
||||
height: var(--control-height);
|
||||
min-height: var(--control-height);
|
||||
|
||||
align-items: 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}>
|
||||
<div>
|
||||
<div id="ribbon">
|
||||
<span>
|
||||
<button
|
||||
class="ghost"
|
||||
aria-label={translations.chatPage.closeChatAudioLabe}
|
||||
on:click={chatViewModel.close}
|
||||
>
|
||||
<span class="icon">close</span>
|
||||
</button>
|
||||
</span>
|
||||
<button
|
||||
class="ghost"
|
||||
aria-label={translations.chatPage.closeChatAudioLabe}
|
||||
on:click={chatViewModel.close}
|
||||
>
|
||||
<span class="icon">close</span>
|
||||
</button>
|
||||
|
||||
<span>
|
||||
{ChatViewToggleButton(
|
||||
|
||||
Reference in New Issue
Block a user