Skip to content

chore: fix font-family in the Ask AI button#2315

Open
barjin wants to merge 1 commit intomasterfrom
chore/ask-ai-font
Open

chore: fix font-family in the Ask AI button#2315
barjin wants to merge 1 commit intomasterfrom
chore/ask-ai-font

Conversation

@barjin
Copy link
Member

@barjin barjin commented Mar 6, 2026

https://apify.slack.com/archives/C0L33UM7Z/p1772794128614689


Note

Low Risk
Low risk CSS-only change that affects only the visual font styling of the AskAI-Button.

Overview
Fixes inconsistent typography by adding font-family: inherit; to the .AskAI-Button styling in apify-docs-theme/src/theme/SearchBar/styles.css.

Written by Cursor Bugbot for commit 29f4107. Configure here.

@barjin barjin self-assigned this Mar 6, 2026
@barjin barjin added the adhoc Ad-hoc unplanned task added during the sprint. label Mar 6, 2026
@github-actions github-actions bot added this to the 135th sprint - Tooling team milestone Mar 6, 2026
@github-actions github-actions bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Mar 6, 2026
@apify-service-account
Copy link

Preview for this PR was built for commit 29f4107 and is ready at https://pr-2315.preview.docs.apify.com!

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes an inconsistent font display in the "Ask AI" button by adding font-family: inherit; to the .AskAI-Button CSS class. This is a well-known browser quirk where <button> elements don't inherit font-family from their parent, and the same fix was already applied to the adjacent .DocSearch-Button class in the same file.

Changes:

  • Added font-family: inherit; to .AskAI-Button to match the existing pattern used by .DocSearch-Button

@apify-service-account
Copy link

Preview for this PR was built for commit 3903c6e and is ready at https://pr-2315.preview.docs.apify.com!

@apify-service-account
Copy link

Preview for this PR was built for commit 29f4107 and is ready at https://pr-2315.preview.docs.apify.com!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants