Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/feedback/src/constants/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const LIGHT_THEME = {
backgroundHover: '#f6f6f7',
foreground: '#2b2233',
border: '1.5px solid rgba(41, 35, 47, 0.13)',
borderRadius: '12px',
borderRadius: '25px',
boxShadow: '0px 4px 24px 0px rgba(43, 34, 51, 0.12)',

success: '#268d75',
Expand Down
10 changes: 8 additions & 2 deletions packages/feedback/src/core/components/Actor.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function createActorStyles(): HTMLStyleElement {
top: var(--top);
z-index: var(--z-index);

line-height: 25px;
line-height: 16px;

display: flex;
align-items: center;
Expand All @@ -26,7 +26,7 @@ export function createActorStyles(): HTMLStyleElement {
font-family: inherit;
font-size: var(--font-size);
font-weight: 600;
padding: 12px 16px;
padding: 16px;
text-decoration: none;
z-index: 9000;

Expand Down Expand Up @@ -56,6 +56,12 @@ export function createActorStyles(): HTMLStyleElement {
.widget__actor__text {
}

@media (max-width: 600px) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestions for another number for viewport boundary is welcome!

Copy link
Member

@michellewzhang michellewzhang Apr 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like most mobile devices have widths < 600
only ipads have viewport widths of 700+ which means ipad users would see the big button, which is probably fine!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://www.icwebdesign.co.uk/common-viewport-sizes looking at this very non-sus website

.widget__actor__text {
display: none;
}
}

.feedback-icon path {
fill: var(--foreground);
}
Expand Down