Skip to content

Commit

Permalink
Make 'Ask AI' button font consistent with page (#26620)
Browse files Browse the repository at this point in the history
## Summary & Motivation
When browsing Dagster's docs, I noticed that the "Ask AI" button's font
seems to have a different font from the rest of the page. It seemed to
use the default sans-serif font rather than the one in the theme. This
is what it looked like on Chrome (v 131.0.6778.204 on Linux):
![Before -
Chrome](https://github.com/user-attachments/assets/aa90441b-8773-42b4-93f5-58cfc6de6218)
And on Firefox (v133.0.3, also on Linux):
![Before -
Firefox](https://github.com/user-attachments/assets/23e459c7-1fbc-4690-b14e-e743711bbcfc)

It's a really minor thing, but I looked into the source code, saw
TailwindCSS, and thought I might as well make a PR :)

## How I Tested These Changes
I made changes in the browser inspector and verified that these changes
look alright. I also ran the documentation website locally. Here's a
screenshot of the result:

![image](https://github.com/user-attachments/assets/327ef4b8-0bf1-48a9-8f6e-f1ea810525b4)

---------

Co-authored-by: Colton Padden <[email protected]>
  • Loading branch information
maryam-khan-dev and cmpadden authored Dec 20, 2024
1 parent b6b004b commit 8d466fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/next/pages/_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ export default class MyDocument extends Document {
<co-pilot copilot_id="dagster">
<div
slot="fab"
className="bg-lavender text-gray-700 px-24 py-2 rounded-full flex flex-row items-center"
className="bg-lavender text-gray-700 px-24 py-2 rounded-full flex flex-row items-center font-sans gap-2"
>
<div className="pt-1 pr-1">
<div className="pt-1">
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
Expand Down

1 comment on commit 8d466fd

@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-bfu1o0y23-elementl.vercel.app
https://master.dagster.dagster-docs.io

Built with commit 8d466fd.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.