Skip to content

Commit 04ce7f2

Browse files
committed
button designs
1 parent 38758b9 commit 04ce7f2

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

packages/feedback/src/constants/theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const LIGHT_THEME = {
1010
backgroundHover: '#f6f6f7',
1111
foreground: '#2b2233',
1212
border: '1.5px solid rgba(41, 35, 47, 0.13)',
13-
borderRadius: '12px',
13+
borderRadius: '99px',
1414
boxShadow: '0px 4px 24px 0px rgba(43, 34, 51, 0.12)',
1515

1616
success: '#268d75',

packages/feedback/src/core/components/Actor.css.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function createActorStyles(): HTMLStyleElement {
1414
top: var(--top);
1515
z-index: var(--z-index);
1616
17-
line-height: 25px;
17+
line-height: 16px;
1818
1919
display: flex;
2020
align-items: center;
@@ -26,7 +26,7 @@ export function createActorStyles(): HTMLStyleElement {
2626
font-family: inherit;
2727
font-size: var(--font-size);
2828
font-weight: 600;
29-
padding: 12px 16px;
29+
padding: 16px;
3030
text-decoration: none;
3131
z-index: 9000;
3232
@@ -56,6 +56,13 @@ export function createActorStyles(): HTMLStyleElement {
5656
.widget__actor__text {
5757
}
5858
59+
@media (max-width: 600px) {
60+
.widget__actor__text {
61+
display: none;
62+
}
63+
}
64+
65+
5966
.feedback-icon path {
6067
fill: var(--foreground);
6168
}

0 commit comments

Comments
 (0)