portfolio : decouple animation direction from mockup position
All checks were successful
Deploy / Deploy to Production (push) Successful in 27s
All checks were successful
Deploy / Deploy to Production (push) Successful in 27s
refs #44 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
fc1fa42e67
commit
4dc937addd
3 changed files with 15 additions and 4 deletions
|
|
@ -187,7 +187,7 @@
|
|||
{/if}
|
||||
|
||||
<!-- Mockup device (centre) — prioritaire -->
|
||||
<div class="portfolio-mockup portfolio-mockup--{currentProject.galleryAnimationMode}" bind:this={mockupEl}>
|
||||
<div class="portfolio-mockup portfolio-mockup--{currentProject.mockupPosition}" bind:this={mockupEl}>
|
||||
<ResponsivePicture
|
||||
src={currentProject.mockup}
|
||||
srcset={currentProject.mockupSrcset}
|
||||
|
|
@ -279,7 +279,7 @@
|
|||
transform: translateX(2vw);
|
||||
}
|
||||
|
||||
.portfolio-mockup--horizontal {
|
||||
.portfolio-mockup--left {
|
||||
grid-area: 7/1 / span 12 / span 8;
|
||||
transform: none;
|
||||
}
|
||||
|
|
@ -480,7 +480,7 @@
|
|||
z-index: var(--z-content);
|
||||
}
|
||||
|
||||
.portfolio-mockup--horizontal {
|
||||
.portfolio-mockup--left {
|
||||
grid-area: 8/4 / span 8 / span 14;
|
||||
scale: 1.2;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue