Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 09b3f93

Browse files
SuthesanSuthesan
authored andcommitted
fix code smell
1 parent 95e92dd commit 09b3f93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/landing/ebooks/components/_header.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const HeaderImage = styled(QueryImage)`
7171
7272
@media ${device.tabletS} {
7373
width: ${(props) => (props.imgWidth < 600 ? '115%' : '105%')};
74-
height: ${(props) => (props.imgWidth < 600 ? '105%' : '105%')};
74+
height: ${(props) => props.imgWidth < 600 && '105%'};
7575
margin-left: ${(props) => (props.imgWidth < 600 ? '-110px' : '-50px')};
7676
}
7777
@media ${device.mobileS} {

0 commit comments

Comments
 (0)