This repository was archived by the owner on Jan 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +18
-5
lines changed
src/components/design-system Expand file tree Collapse file tree 3 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,15 @@ Release date: 2024-12-30
66
77#### Added
88
9- - update deps to latest releases
10- - lunr search
9+ - Update deps to latest releases
10+ - Lunr search
11+ - Various ui improvements
1112
1213#### Removed
1314
14- - algolia search implementation
15- - loadable components
16- - unused /useless deps
15+ - Algolia search implementation
16+ - Loadable components
17+ - Unused /useless deps
1718
1819#### Fixed
1920
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import { ProjectCallToAction } from "../../../logic/projects";
88import { Paragraph } from "../atoms/paragraph" ;
99import { List } from "../atoms/list" ;
1010import { GatsbyImage , IGatsbyImageData } from "gatsby-plugin-image" ;
11+ import { gatsbyImageWrapperSelector } from "../utils-css/gatsby-image-selector" ;
1112
1213interface ProjectContainerProps {
1314 reverse : boolean ;
@@ -36,6 +37,16 @@ const ProjectImageContainer = styled(ProjectContentContainer)`
3637 display: flex;
3738 justify-content: center;
3839 align-items: center;
40+
41+ ${ gatsbyImageWrapperSelector } {
42+ overflow: hidden;
43+ border-radius: 4px;
44+ box-shadow: 0 3px 10px 0 ${ ( props ) => props . theme . light . boxShadowLight } ;
45+
46+ ${ mediaQuery . dark } {
47+ box-shadow: 0 3px 10px 0 ${ ( props ) => props . theme . dark . boxShadowLight } ;
48+ }
49+ }
3950` ;
4051
4152const CallToActionContainer = styled . div `
Original file line number Diff line number Diff line change 11export const gatsbyImagePlaceholderSelector = "& [data-placeholder-image]" ;
2+ export const gatsbyImageWrapperSelector = "& [data-gatsby-image-wrapper]" ;
You can’t perform that action at this time.
0 commit comments