diff --git a/apps/client/src/widgets/type_widgets/options/appearance.css b/apps/client/src/widgets/type_widgets/options/appearance.css
index 753a2715fd..8693b5bbdf 100644
--- a/apps/client/src/widgets/type_widgets/options/appearance.css
+++ b/apps/client/src/widgets/type_widgets/options/appearance.css
@@ -56,6 +56,11 @@
font-size: 12px;
text-transform: uppercase;
}
+
+ .font-size-description {
+ color: var(--muted-text-color);
+ font-size: 12px;
+ }
}
.font-size-slider {
diff --git a/apps/client/src/widgets/type_widgets/options/appearance.tsx b/apps/client/src/widgets/type_widgets/options/appearance.tsx
index df46afa8ee..1f76dd37c7 100644
--- a/apps/client/src/widgets/type_widgets/options/appearance.tsx
+++ b/apps/client/src/widgets/type_widgets/options/appearance.tsx
@@ -328,8 +328,8 @@ function Fonts() {
/>
-
-
+
+
+
<>
@@ -408,9 +409,10 @@ interface FontPickerModalProps {
onFontFamilyChange: (value: string) => void;
onFontSizeChange: (value: number) => void;
getFontFamily: (value: string) => string | undefined;
+ sizeDescription?: string;
}
-function FontPickerModal({ show, onHidden, title, fontFamily, fontSize, onFontFamilyChange, onFontSizeChange, getFontFamily }: FontPickerModalProps) {
+function FontPickerModal({ show, onHidden, title, fontFamily, fontSize, onFontFamilyChange, onFontSizeChange, getFontFamily, sizeDescription }: FontPickerModalProps) {
return createPortal(
{fontSize}%
+ {sizeDescription && {sizeDescription}}