ScottLogic / prompt-injection

Application which investigates defensive measures against prompt injection attacks on an LLM, with a focus on the exposure of external tools.
MIT License
11 stars 9 forks source link

Fix document viewer sizing up to 200% zoom #886

Closed chriswilty closed 3 months ago

chriswilty commented 3 months ago

Description

Document viewer was not useable at higher zoom levels due to a fixed aspect ratio.

These changes address that, and also optimise spacing at higher zoom breakpoints.

Screenshots

110% Zoom (before first breakpoint) image

150% Zoom (between first and second breakpoints) image

200% Zoom (after second breakpoint) image

Checklist

Have you done the following?