File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,8 +26,10 @@ export default function ProjectCard({ project }): JSX.Element {
2626 ) ;
2727
2828 return (
29- < div className = "row row--no-gutters" >
30- { isReverse ? < > { imageCol } { textCol } </ > : < > { textCol } { imageCol } </ > }
29+ < div className = { styles . project_row } >
30+ < div className = "row row--no-gutters" >
31+ { isReverse ? < > { imageCol } { textCol } </ > : < > { textCol } { imageCol } </ > }
32+ </ div >
3133 </ div >
3234 ) ;
3335}
Original file line number Diff line number Diff line change 1919 color : var (--ifm-color-primary-p2 );
2020}
2121
22+ /* Unified card wrapper — gives both text and image columns the same background */
23+ .project_row {
24+ border-radius : 10px ;
25+ overflow : hidden;
26+ margin-bottom : var (--ifm-spacing-xl );
27+ background-color : var (--ifm-color-orange-light );
28+ }
29+
2230/* Logo wrapper — border is on the inner box, not the full column */
2331.project_logo {
2432 max-width : 160px ;
96104 }
97105
98106 .project_text {
99- background-color : white;
100107 padding : var (--ifm-spacing-lg );
101108 }
102109
130137 }
131138
132139 .project_text {
133- background-color : var (--ifm-color-orange-light );
134- padding : var (--ifm-spacing-2xl ) var (--ifm-spacing-2xl );
135- margin-bottom : var (--ifm-spacing-lg );
136- border-radius : 10px ;
140+ padding : var (--ifm-spacing-2xl );
137141 }
138142}
You can’t perform that action at this time.
0 commit comments