File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
app/(frontend)/[locale]/projects/[id] Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ const Page = async ({ params }: Props) => {
205205 </ figcaption >
206206 </ figure >
207207 < div
208- className = " flex flex-col justify-evenly gap-y-20 py-20 lg:hidden"
208+ className = { ` ${ image . phoneConf . imgAlign === 'overflow' ? '' : 'px-8' } flex flex-col justify-evenly gap-y-20 py-20 lg:hidden` }
209209 style = { { backgroundColor : image . bgColor } }
210210 key = { `${ img . id } -mobile` }
211211 >
@@ -214,7 +214,7 @@ const Page = async ({ params }: Props) => {
214214 alt = { imageFile . alt }
215215 width = { imageFile . width ! }
216216 height = { imageFile . height ! }
217- className = "max-w-3/4 mx-auto xl:max-w-full md:h-80 md:w-auto h-full w -auto object-contain"
217+ className = "mx-auto xl:max-w-full h -auto object-contain"
218218 sizes = "(min-width: 1280px) 60vw, 75vw"
219219 />
220220
Original file line number Diff line number Diff line change @@ -139,8 +139,8 @@ export default function Carousel({ projects }: Props) {
139139 className = "mx-auto w-fit flex-col items-start transition-transform hover:cursor-pointer flex"
140140 >
141141 < figure
142- className = "h-100 relative overflow-hidden"
143- style = { { aspectRatio : '0.705' } }
142+ className = "min- h-100 relative overflow-hidden"
143+ style = { { aspectRatio : '0.705' , height : '50svh' } }
144144 >
145145 < Image
146146 src = { thumbnail . url ! }
You can’t perform that action at this time.
0 commit comments