Skip to content

Commit

Permalink
[docs] Use normal font-feature-settings for AskAI bot (#20692)
Browse files Browse the repository at this point in the history
## Summary & Motivation

This should hopefully fix the ugly font issue for people without Open Sans.

Before
<img width="389" alt="image"
src="https://github.com/dagster-io/dagster/assets/1045990/c99d304c-a84a-42b8-b1d2-cd252a9ebd74">


After
<img width="335" alt="image"
src="https://github.com/dagster-io/dagster/assets/1045990/dc49ed64-9c19-40e3-8ccb-755066ed2865">
  • Loading branch information
PedramNavid authored Mar 25, 2024
1 parent 0f48796 commit 83cd7b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/next/pages/_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default class MyDocument extends Document {
/>
</>
)}
<co-pilot copilot_id="dagster">
<co-pilot copilot_id="dagster" style={{fontFeatureSettings: 'normal'}}>
<div
slot="fab"
className="bg-lavender text-gray-700 px-24 py-2 rounded-full flex flex-row items-center"
Expand Down

1 comment on commit 83cd7b5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for dagster-docs ready!

✅ Preview
https://dagster-docs-l3r1enota-elementl.vercel.app
https://master.dagster.dagster-docs.io

Built with commit 83cd7b5.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.