Skip to content

Commit

Permalink
fix thread emoji layout
Browse files Browse the repository at this point in the history
  • Loading branch information
julianjelfs committed Dec 5, 2023
1 parent c609094 commit 576c591
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions frontend/app/src/components/Panel.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
padding: 0px;
border-left: var(--bw) solid var(--bd);
background: var(--panel-right-bg);
position: relative;
&.modal.right {
background: var(--panel-right-modal);
Expand Down
4 changes: 4 additions & 0 deletions frontend/app/src/components/home/EmojiPicker.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,9 @@
@include size-below(xxs) {
--num-columns: 7 !important;
}
&.thread {
--num-columns: 10 !important;
}
}
</style>
12 changes: 11 additions & 1 deletion frontend/app/src/components/home/Footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
</script>

{#if messageAction === "emoji"}
<div class="emoji-overlay">
<div class={`emoji-overlay ${mode}`}>
<ModalContent hideFooter hideHeader fill>
<span slot="body">
<div class="emoji-header">
Expand Down Expand Up @@ -173,6 +173,11 @@
border: var(--bw) solid var(--bd);
}
:global(.emoji-overlay.thread .modal-content) {
width: 100%;
border-radius: var(--modal-rd) var(--modal-rd) 0 0;
}
.footer {
position: relative;
flex: 0 0 toRem(60);
Expand Down Expand Up @@ -212,6 +217,11 @@
flex: 0 0 20px;
}
}
&.thread {
bottom: toRem(60);
left: 0;
}
}
.draft-container {
Expand Down

0 comments on commit 576c591

Please sign in to comment.