Skip to content

Commit

Permalink
Changed background property in question container to background-color
Browse files Browse the repository at this point in the history
  • Loading branch information
amamenko committed Mar 30, 2021
1 parent 3c83df4 commit 4af45a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Question.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ const StyledQuestionContainer = styled.div`
display: flex;
justify-content: center;
align-items: center;
background: ${(props) =>
background-color: ${(props) =>
props.backgroundColor
? props.backgroundColor
: props.backgroundImageSrc
? "none"
? "transparent"
: "#000"};
margin-bottom: ${(props) => (props.imageAttribution ? 0 : "1rem")};
background-image: ${(props) =>
Expand Down

0 comments on commit 4af45a2

Please sign in to comment.