Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
beyaz committed Sep 23, 2024
1 parent 0b0e472 commit cba79c6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,8 @@ protected override async Task<Element> renderAsync()
"""
.react-with-dotnet-designer-hover-effect
{
transition: box-shadow 0.3s ease;
box-shadow: 0px 0px 8px 4px #bfdbfe;
transition: outline 0.3s ease;
outline: 2px dashed #bfdbfe;
}
"""
},
Expand All @@ -442,7 +442,7 @@ function canApplyHoverEffect(targetElement)
{
const style = window.getComputedStyle(targetElement);
return style.boxShadow === 'none';
return style.outlineStyle === 'none';
}
function applyHoverEffect(targetElement)
{
Expand Down

0 comments on commit cba79c6

Please sign in to comment.