Skip to content

Commit

Permalink
Fix "Get started" image is not adaptive to the browser window size. (#…
Browse files Browse the repository at this point in the history
…1396) (#1399)

* Fixed get-started page image not adapting to the browser window size

Signed-off-by: Sirazh Gabdullin <[email protected]>
Co-authored-by: Stephen Crawford <[email protected]>
(cherry picked from commit ce57d86)
  • Loading branch information
opensearch-trigger-bot[bot] authored Apr 13, 2023
1 parent 1adf879 commit 11be9b0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions public/apps/configuration/panels/get-started.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ export function GetStarted(props: AppDependencies) {
size="xl"
alt="Three steps to set up your security"
url={securityStepsDiagram}
style={{ maxWidth: '100%', height: 'auto', width: 'auto' }}
/>
</div>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,13 @@ exports[`Get started (landing page) renders when backend configuration is enable
<EuiImage
alt="Three steps to set up your security"
size="xl"
style={
Object {
"height": "auto",
"maxWidth": "100%",
"width": "auto",
}
}
url="test-file-stub"
/>
</div>
Expand Down

0 comments on commit 11be9b0

Please sign in to comment.