Changing Chat Panel Font Size / Line Height easily

Thanks! I miss the usage docs and it’s actually Custom UI Style: Reload

I also found the class to adjust the code blocks as well.

"custom-ui-style.stylesheet": {
    // Adjust Chat UI text
    ".anysphere-markdown-container-root": "font-size: 16px; line-height: 1.4;",
    // Adjust Chat UI Code block
    ".markdown-block-code *": "font-size: 16px !important; line-height: 1.4;"
  }

The only thing that I could not figure out yet is to how to apply word wrap for the code blocks. I tried adding

white-space: pre-wrap;
word-wrap: break-word;

but it didn’t work.

1 Like