Skip to content
Closed
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
14 changes: 8 additions & 6 deletions src/components/Call-To-Actions/CTA_FullWidth/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,26 +65,28 @@ const CTA_FullWidthWrapper = styled.div`

@media screen and (max-width: 699px) {
display: block;
width: 18rem;
width: 100%;
height: 18rem;
margin: 1.5rem auto;
border-radius: 0.25rem;

img {
width: 18rem;
height: 18rem;
width: 100%;
height: 100%;
position: absolute;
opacity: 0.35;
border-radius: 0.25rem;
object-fit: scale-down;
object-position: center;
}

.cta-content {
position: absolute;
height: 18rem;
height: 100%;
display: block;
width: 18rem;
width: 100%;
background: none;
padding: 4rem 1rem;
padding: 2rem 1rem;

p {
color: white;
Expand Down