Skip to content

Commit e1107df

Browse files
committed
feedback animations
1 parent c13cc5d commit e1107df

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/components/FeedbackForm.astro

+12-2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@ import { Icon } from 'astro-icon/components';
3131
margin: 0;
3232
padding: 0;
3333
}
34+
35+
.feedback-icon:hover {
36+
transform: scale(1.2);
37+
color: #5a6672;
38+
}
39+
40+
.feedback-icon:hover {
41+
transform: scale(1.2);
42+
color: #000;
43+
}
3444
</style>
3545

3646
<form class="feedback-form">
@@ -39,10 +49,10 @@ import { Icon } from 'astro-icon/components';
3949
<div class="feedback-form-buttons" style="margin-top: 0;">
4050
<input type="hidden" name="feedback-value" id="feedback-value" value="" />
4151
<button type="submit" data-value="good" style="margin-top: 0.5rem;">
42-
<Icon name="mdi:emoticon-happy-outline" width="32" height="32" />
52+
<Icon name="mdi:emoticon-happy-outline" class="feedback-icon" width="32" height="32" />
4353
</button>
4454
<button type="submit" data-value="bad"style="margin-top: 0.5rem;" >
45-
<Icon name="mdi:emoticon-sad-outline" width="32" height="32" />
55+
<Icon name="mdi:emoticon-sad-outline" class="feedback-icon" width="32" height="32" />
4656
</button>
4757
</div>
4858
<div class="feedback-note feedback-note--hidden">

0 commit comments

Comments
 (0)