From 60e8c96c25bc3bca9f38bbf27477a923556dd176 Mon Sep 17 00:00:00 2001 From: Francesca Giannino Date: Thu, 24 Oct 2024 18:06:56 +0200 Subject: [PATCH] style: center star icon --- packages/ui-stencil/src/components/internal/icons.tsx | 2 +- .../internal/orama-chat-button/orama-chat-button.tsx | 2 +- .../orama-chat-suggestions/orama-chat-suggestions.scss | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/ui-stencil/src/components/internal/icons.tsx b/packages/ui-stencil/src/components/internal/icons.tsx index 034c9b97..6fb79add 100644 --- a/packages/ui-stencil/src/components/internal/icons.tsx +++ b/packages/ui-stencil/src/components/internal/icons.tsx @@ -9,7 +9,7 @@ interface IconProps { export const Icon: FunctionalComponent = ({ name, size = 24, color = 'black' }) => { const getIconSvg = (iconName: string) => { const icons: { [key: string]: string } = { - star: ` + star: ` diff --git a/packages/ui-stencil/src/components/internal/orama-chat-button/orama-chat-button.tsx b/packages/ui-stencil/src/components/internal/orama-chat-button/orama-chat-button.tsx index 90f1e4e2..4d2e0129 100644 --- a/packages/ui-stencil/src/components/internal/orama-chat-button/orama-chat-button.tsx +++ b/packages/ui-stencil/src/components/internal/orama-chat-button/orama-chat-button.tsx @@ -44,7 +44,7 @@ export class OramaChatButton { type="button" > - + {this.label} diff --git a/packages/ui-stencil/src/components/internal/orama-chat-suggestions/orama-chat-suggestions.scss b/packages/ui-stencil/src/components/internal/orama-chat-suggestions/orama-chat-suggestions.scss index f4ab2a21..b272a31b 100644 --- a/packages/ui-stencil/src/components/internal/orama-chat-suggestions/orama-chat-suggestions.scss +++ b/packages/ui-stencil/src/components/internal/orama-chat-suggestions/orama-chat-suggestions.scss @@ -1,5 +1,6 @@ :host { display: block; + font-family: var(--font-primary, font('primary')); } .suggestions-chips { @@ -7,7 +8,6 @@ align-items: center; gap: var(--spacing-m, $spacing-m); padding: var(--radius-s, $spacing-s) var(--radius-l, $spacing-l); - list-style: none; margin: 0; overflow-x: auto; @@ -80,6 +80,7 @@ -webkit-text-fill-color: transparent; width: 100%; border: 1px solid transparent; + font-family: inherit; &:focus-visible { outline: none;