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 10 forks source link

Make short mission info non-clickable and add button #535 #841

Closed AAloshine-scottlogic closed 7 months ago

AAloshine-scottlogic commented 7 months ago

Description

changed level banner format to include actual button with mission info as per ticket #535

Screenshots

image

Notes

|## link: https://github.com/orgs/ScottLogic/projects/37/views/2?pane=issue&itemId=44015553

Resolves #535

dhinrichs-scottlogic commented 7 months ago

It looks like the mission info button adds padding to the banner, probably from the default padding in the themed-button class. Could that be adjusted so that the banner continues to take up the same amount of space as before? image

chriswilty commented 7 months ago

@dhinrichs-scottlogic, @pmarsh-scottlogic The chonkiness is due to the h2 of "Level N" having margins, nothing to do with the button. Can of course whack the margin (on "level-title-area") down a little:

image

margin: 1rem 0