Skip to content

Commit

Permalink
ref(feedback): [v7] Configure feedback fonts (#11520)
Browse files Browse the repository at this point in the history
Backports #11437, #11432, #11414 to v7
  • Loading branch information
c298lee committed Apr 10, 2024
1 parent ab40116 commit 6211563
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion packages/feedback/src/widget/Actor.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ export function createActorStyles(d: Document): HTMLStyleElement {
border-radius: var(--border-radius);
cursor: pointer;
font-size: 14px;
font-family: inherit;
font-size: var(--font-size);
font-weight: 600;
padding: 12px 16px;
text-decoration: none;
Expand Down
7 changes: 4 additions & 3 deletions packages/feedback/src/widget/Dialog.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,14 @@ export function createDialogStyles(d: Document): HTMLStyleElement {
}
.form__input {
font-family: inherit;
line-height: inherit;
background-color: var(--input-background);
box-sizing: border-box;
border: var(--input-border);
border-radius: var(--form-content-border-radius);
color: var(--input-foreground);
font-size: 14px;
font-family: inherit;
font-size: var(--font-size);
font-weight: 500;
padding: 6px 12px;
}
Expand All @@ -140,7 +140,8 @@ export function createDialogStyles(d: Document): HTMLStyleElement {
border: var(--cancel-border);
border-radius: var(--form-content-border-radius);
cursor: pointer;
font-size: 14px;
font-family: inherit;
font-size: var(--font-size);
font-weight: 600;
padding: 6px 16px;
}
Expand Down

0 comments on commit 6211563

Please sign in to comment.