Skip to content

Commit

Permalink
fix: scroll on imap email overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
potts99 committed Nov 11, 2024
1 parent 25a342e commit 3ef3a75
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions apps/client/components/TicketDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ export default function Ticket() {
<div className="">
<div className="break-words bg-white rounded-md text-black">
<Frame
className="min-h-[60vh] h-full w-full"
className="min-h-[60vh] h-full max-h-[80vh] overflow-y-auto w-full"
initialContent={data.ticket.detail}
/>
</div>
Expand Down Expand Up @@ -842,7 +842,7 @@ export default function Ticket() {
data.ticket.comments.map((comment: any) => (
<li
key={comment.id}
className="flex flex-col space-y-1 text-sm bg-secondary/50 px-4 py-2 rounded-lg shadow-xl"
className="flex flex-col space-y-1 text-sm bg-secondary/50 dark:bg-secondary/50 px-4 py-2 rounded-lg "
>
<div className="flex flex-row space-x-2 items-center">
<Avatar className="w-6 h-6">
Expand Down Expand Up @@ -871,8 +871,6 @@ export default function Ticket() {
))}
</ul>
</div>
</div>
<div>
<div className="mt-6">
<div className="flex space-x-3">
<div className="min-w-0 flex-1">
Expand All @@ -885,7 +883,7 @@ export default function Ticket() {
id="comment"
name="comment"
rows={3}
className="block w-full bg-transparent rounded-md border-0 py-1.5 shadow-sm ring-1 ring-inset ring-background focus:ring-0 focus:ring-inset focus:ring-gray-900 sm:text-sm sm:leading-6"
className="block w-full bg-secondary/50 dark:bg-secondary/50 rounded-md border-0 py-1.5 shadow-sm ring-1 ring-inset ring-background focus:ring-0 focus:ring-inset focus:ring-gray-900 sm:text-sm sm:leading-6"
placeholder={
data.ticket.locked
? "This ticket is locked"
Expand Down

0 comments on commit 3ef3a75

Please sign in to comment.