Skip to content

Commit 022fcb6

Browse files
authored
ref(feedback): Configure font size (#11437)
Font sizes were set instead of using config option
1 parent 091d23b commit 022fcb6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ export function createActorStyles(): HTMLStyleElement {
2323
2424
border-radius: var(--border-radius);
2525
cursor: pointer;
26-
font-size: 14px;
27-
font-weight: 600;
2826
font-family: inherit;
27+
font-size: var(--font-size);
28+
font-weight: 600;
2929
padding: 12px 16px;
3030
text-decoration: none;
3131
z-index: 9000;

packages/feedback/src/modal/components/Dialog.css.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export function createDialogStyles(): HTMLStyleElement {
128128
border: var(--input-border);
129129
border-radius: var(--form-content-border-radius);
130130
color: var(--input-foreground);
131-
font-size: 14px;
131+
font-size: var(--font-size);
132132
font-weight: 500;
133133
padding: 6px 12px;
134134
}
@@ -153,10 +153,10 @@ export function createDialogStyles(): HTMLStyleElement {
153153
border: var(--cancel-border);
154154
border-radius: var(--form-content-border-radius);
155155
cursor: pointer;
156-
font-size: 14px;
156+
font-family: inherit;
157+
font-size: var(--font-size);
157158
font-weight: 600;
158159
padding: 6px 16px;
159-
font-family: inherit;
160160
}
161161
.btn[disabled] {
162162
opacity: 0.6;

0 commit comments

Comments
 (0)