diff --git a/src/interface/web/app/components/chatMessage/chatMessage.module.css b/src/interface/web/app/components/chatMessage/chatMessage.module.css index e166fc38..51714612 100644 --- a/src/interface/web/app/components/chatMessage/chatMessage.module.css +++ b/src/interface/web/app/components/chatMessage/chatMessage.module.css @@ -10,6 +10,7 @@ div.chatMessageContainer { div.chatMessageWrapper { padding-left: 1rem; padding-bottom: 1rem; + max-width: 80vw; } div.chatMessageWrapper p:not(:last-child) { margin-bottom: 16px; diff --git a/src/interface/web/app/components/referencePanel/referencePanel.tsx b/src/interface/web/app/components/referencePanel/referencePanel.tsx index 5852854e..17632bea 100644 --- a/src/interface/web/app/components/referencePanel/referencePanel.tsx +++ b/src/interface/web/app/components/referencePanel/referencePanel.tsx @@ -283,7 +283,7 @@ export function TeaserReferencesSection(props: TeaserReferenceSectionProps) { {numReferences} sources

-
+
{ notesDataToShow.map((note, index) => { return @@ -297,7 +297,6 @@ export function TeaserReferencesSection(props: TeaserReferenceSectionProps) { { shouldShowShowMoreButton && } @@ -310,7 +309,6 @@ export function TeaserReferencesSection(props: TeaserReferenceSectionProps) { interface ReferencePanelDataProps { notesReferenceCardData: NotesContextReferenceData[]; onlineReferenceCardData: OnlineReferenceData[]; - isMobileWidth: boolean; } export default function ReferencePanel(props: ReferencePanelDataProps) { @@ -322,7 +320,7 @@ export default function ReferencePanel(props: ReferencePanelDataProps) { return ( + className='text-balance w-auto md:w-[200px] justify-start overflow-hidden break-words p-0 bg-transparent border-none text-gray-400 align-middle items-center !m-2 inline-flex'> View references @@ -331,7 +329,7 @@ export default function ReferencePanel(props: ReferencePanelDataProps) { References View all references for this response -
+
{ props.notesReferenceCardData.map((note, index) => { return