Skip to content

Commit

Permalink
[8.13] [Observability AI Assistant] Set max image width to 100% (#177689
Browse files Browse the repository at this point in the history
) (#177706)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Observability AI Assistant] Set max image width to 100%
(#177689)](#177689)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Coen
Warmer","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-23T12:37:33Z","message":"[Observability
AI Assistant] Set max image width to 100% (#177689)\n\n##
Summary\r\n\r\nMakes sure large images don't flow out of the
chat:\r\n\r\n<img width=\"1624\" alt=\"Screenshot 2024-02-23 at 11 32
23\"\r\nsrc=\"https://github.com/elastic/kibana/assets/535564/ec63fcb5-fccd-4944-9fb3-0aed0d5bd75b\">","sha":"13a306a705f0231233f053afe6231b507f508e6c","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.13.0","v8.14.0"],"title":"[Observability
AI Assistant] Set max image width to
100%","number":177689,"url":"https://github.com/elastic/kibana/pull/177689","mergeCommit":{"message":"[Observability
AI Assistant] Set max image width to 100% (#177689)\n\n##
Summary\r\n\r\nMakes sure large images don't flow out of the
chat:\r\n\r\n<img width=\"1624\" alt=\"Screenshot 2024-02-23 at 11 32
23\"\r\nsrc=\"https://github.com/elastic/kibana/assets/535564/ec63fcb5-fccd-4944-9fb3-0aed0d5bd75b\">","sha":"13a306a705f0231233f053afe6231b507f508e6c"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177689","number":177689,"mergeCommit":{"message":"[Observability
AI Assistant] Set max image width to 100% (#177689)\n\n##
Summary\r\n\r\nMakes sure large images don't flow out of the
chat:\r\n\r\n<img width=\"1624\" alt=\"Screenshot 2024-02-23 at 11 32
23\"\r\nsrc=\"https://github.com/elastic/kibana/assets/535564/ec63fcb5-fccd-4944-9fb3-0aed0d5bd75b\">","sha":"13a306a705f0231233f053afe6231b507f508e6c"}}]}]
BACKPORT-->

Co-authored-by: Coen Warmer <[email protected]>
  • Loading branch information
kibanamachine and CoenWarmer authored Feb 23, 2024
1 parent 82803aa commit 5deea31
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ interface Props {

const textContainerClassName = css`
padding: 4px 0;
img {
max-width: 100%;
}
`;

const editorContainerClassName = css`
Expand Down

0 comments on commit 5deea31

Please sign in to comment.