We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0382393 commit 6ed8af2Copy full SHA for 6ed8af2
src/layouts/SectionRow.astro
@@ -46,7 +46,7 @@ const {
46
{
47
screenshot && (
48
<Image
49
- class="w-full lg:w-96 max-w-md rounded-lg shadow-lg transform -rotate-6 mt-16 lg:mt-0 mb-8 lg:mb-0"
+ class:list={["w-full lg:w-96 max-w-md rounded-lg shadow-lg transform", "mt-16 lg:mt-0 mb-8 lg:mb-0", isReversed ? "-rotate-6" : "rotate-6"]}
50
width="500"
51
height="400"
52
src={import(`../assets/${screenshot.path}.png`)}
0 commit comments