Skip to content

Commit

Permalink
fix: only outline blocks in preview (#866)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksted authored Dec 5, 2024
1 parent 7f0fd2b commit 3125783
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/web/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
'relative max-w-screen-3xl mx-auto md:px-6 lg:px-10 mb-10 group',
{
'outline outline-4 outline-[#538AEA]':
disableActions && isClicked && isTablet && clickedBlockIndex === index,
isPreview && disableActions && isClicked && isTablet && clickedBlockIndex === index,
},
{ 'hover:outline hover:outline-4 hover:outline-[#538AEA]': disableActions && !isTablet },
{ 'hover:outline hover:outline-4 hover:outline-[#538AEA]': isPreview && disableActions && !isTablet },
]"
@click="tabletEdit(index)"
>
Expand Down

0 comments on commit 3125783

Please sign in to comment.