Skip to content

Commit

Permalink
fix(app): analysis banner show scroll bar only when needed (#16113)
Browse files Browse the repository at this point in the history
# Overview

closes [RQA-3091](https://opentrons.atlassian.net/browse/RQA-3091).
add overflow scroll when needed. 

## Test Plan and Hands on Testing

make sure long text analysis messages have a scroll bar and short
messages do not.

## Changelog

`overflow: auto`


[RQA-3091]:
https://opentrons.atlassian.net/browse/RQA-3091?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
  • Loading branch information
TamarZanzouri authored Aug 23, 2024
1 parent a0f2f7e commit 469a13d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/organisms/ProtocolAnalysisFailure/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export function ProtocolAnalysisFailure(
}

const SCROLL_LONG = css`
overflow: scroll;
overflow: auto;
width: inherit;
max-height: 11.75rem;
`

0 comments on commit 469a13d

Please sign in to comment.