Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Image component to better handle positioning in Safari #564

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ date: 2023-01-16T12:00

import Image from '@site/src/components/Image';

*This article was originally for <a href="https://techcrunch.com/2022/12/20/simplify-debugging-to-reduce-the-complexity-of-embedded-system-development/Techcrunch" rel="external nofollow">Techcrunch</a> (available with a Techcrunch+ subscription).*
*This article was originally for <a href="https://techcrunch.com/2022/12/20/simplify-debugging-to-reduce-the-complexity-of-embedded-system-development/" rel="external nofollow">Techcrunch</a> (available with a Techcrunch+ subscription).*

The complexity associated with the development of embedded systems is increasing rapidly. For instance, it is estimated that the average complexity of software projects in the automotive industry has grown <a href="https://www.mckinsey.com/industries/advanced-electronics/our-insights/cracking-the-complexity-code-in-embedded-systems-development" rel="external nofollow">300% over the past decade</a>.

Expand Down
2 changes: 1 addition & 1 deletion src/components/Image.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const Image = (props) => {
const height = props.height === undefined ? '100%' : props.height;
const width = props.width === undefined ? null : props.width;
return (
<div style={{ display: 'inline', marginRight: '15px' }}>
<div style={{ display: 'inline-flex', marginRight: '15px' }}>
<img
className="imgPreview"
src={source}
Expand Down