Skip to content

Commit

Permalink
style: fix id selector
Browse files Browse the repository at this point in the history
  • Loading branch information
g-francesca committed Jul 23, 2024
1 parent a613392 commit 9756b1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class ChatBox {

return (
// TODO: only dark theme supported to start
<Host id="orama-ui" class="theme-dark">
<Host id="orama-ui-chatbox" class="theme-dark">
<orama-chat style={{ display: 'flex' }} />
</Host>
)
Expand Down
3 changes: 2 additions & 1 deletion packages/ui-stencil/src/styles/globals.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');

#orama-ui {
// selector id starts with orama-ui
[id^='orama-ui'] {
@include font-smoothing();
font-weight: normal;
text-rendering: optimizeLegibility;
Expand Down

0 comments on commit 9756b1a

Please sign in to comment.