microsoft / sample-app-aoai-chatGPT

Sample code for a simple web chat experience through Azure OpenAI, including Azure OpenAI On Your Data.
MIT License
1.59k stars 2.48k forks source link

Styling of inline code references #1104

Open Bouke opened 2 weeks ago

Bouke commented 2 weeks ago

Describe the bug Inline

codeblocks

are not

rendered

on the

same line

.

To Reproduce Steps to reproduce the behavior:

  1. Trigger inline code blocks

Expected behavior It should render inline codeblocks on the same line.

Screenshots image

Configuration: Please provide the following N/A

Logs N/A

Additional context N/A

Bouke commented 1 week ago

I have added the following custom styles, which seem to work pretty ok:

p > div, li > div {
    display: inline;
    line-height: inherit !important;
    margin: 0 !important;
    padding: 2px 4px !important;
}

image