Skip to content

Commit 6ed8af2

Browse files
authored
docs: update image rotation
1 parent 0382393 commit 6ed8af2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layouts/SectionRow.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const {
4646
{
4747
screenshot && (
4848
<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"
49+
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"]}
5050
width="500"
5151
height="400"
5252
src={import(`../assets/${screenshot.path}.png`)}

0 commit comments

Comments
 (0)