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
16 stars 11 forks source link

Various visual bugs #757

Closed gsproston-scottlogic closed 9 months ago

gsproston-scottlogic commented 9 months ago

Bug report

Description

A few visual bugs that might have been caused by #732 .

Screenshots

Handbook scroll:

image

Small close button:

image

Document viewer button:

image

Software (please complete the following information):

Additional context

Acceptance criteria

GIVEN the user is on sandbox AND has opened the handbook WHEN the user scrolls down through the attacks THEN all the attacks are shown

GIVEN the 'getting started' overlay is open THEN the close button is sized correctly

GIVEN the document viewer is open AND the first document is shown THEN the disabled "previous" button does not have a blue border.

pmarsh-scottlogic commented 9 months ago

To go back to a version when the docViewer scroll and close button were good, try git switch f1d2ade6c9fa3f0bf23813d9414424e27dc3009d --detach

pmarsh-scottlogic commented 9 months ago

When handbook scroll was working

"handbook-overlay" div image

"content" div image

"handbook-page" article image as tall as the the text content within

pmarsh-scottlogic commented 9 months ago

When overlay close button was working

image

image