Skip to content

Commit

Permalink
Merge pull request #39 from healthwise/jsaraceno/fix-thumbnail-image-…
Browse files Browse the repository at this point in the history
…size

revert flex, fix missing image size, bump version
  • Loading branch information
joesaraceno authored Feb 6, 2020
2 parents a37aeaf + 975a2f1 commit a83d718
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 14 deletions.
30 changes: 22 additions & 8 deletions packages/content/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/content/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@healthwise-ui/content",
"version": "0.0.14",
"version": "0.0.15",
"description": "Shared React UI library to use with Healthwise content.",
"main": "index.js",
"unpkg": "healthwise-ui.min.js",
Expand Down
12 changes: 7 additions & 5 deletions packages/content/src/MediaGallery/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ const SectionGallery = styled.section`
`

const UlList = styled.ul`
display: flex;
flex-direction: row;
margin: 0 0 18px 0;
margin: 0;
padding: 0;
& li {
Expand Down Expand Up @@ -128,7 +126,7 @@ const ActiveThumbnailButton = styled.button`
padding: 0;
width: 84px;
height: 56px;
border: 1px solid #abb2c1;
border: 1px solid #017acd;
cursor: pointer;
&:focus,
Expand All @@ -137,7 +135,11 @@ const ActiveThumbnailButton = styled.button`
outline: 2px solid #000;
}
border: 1px solid #017acd;
& img {
width: 84px;
height: 56px;
}
`

class MediaGallery extends Component {
Expand Down

0 comments on commit a83d718

Please sign in to comment.