[AI Search] Update disclaimer text style (#55420)
This commit is contained in:
@@ -45,7 +45,7 @@ search:
|
||||
search_docs_with_query: Search docs for "{{query}}"
|
||||
privacy_disclaimer: For product and service improvement purposes, the GitHub Docs team will retain questions and answers generated in the Docs search function. Please see the <a href="https://docs.github.com/privacy">GitHub Privacy Statement</a> to review how GitHub collects and uses your data.
|
||||
ai:
|
||||
disclaimer: Copilot uses AI. Check for mistakes by reviewing the links in the response.
|
||||
disclaimer: <a href="https://docs.github.com/en/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-chat-in-githubcom"}>Copilot</a> uses AI. Check for mistakes.
|
||||
references: Additional docs
|
||||
loading_status_message: Loading Copilot response...
|
||||
done_loading_status_message: Done loading Copilot response
|
||||
|
||||
@@ -45,7 +45,7 @@ search:
|
||||
search_docs_with_query: Search docs for "{{query}}"
|
||||
privacy_disclaimer: For product and service improvement purposes, the GitHub Docs team will retain questions and answers generated in the Docs search function. Please see the <a href="https://docs.github.com/privacy">GitHub Privacy Statement</a> to review how GitHub collects and uses your data.
|
||||
ai:
|
||||
disclaimer: Copilot uses AI. Check for mistakes by reviewing the links in the response.
|
||||
disclaimer: <a href="https://docs.github.com/en/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-chat-in-githubcom"}>Copilot</a> uses AI. Check for mistakes.
|
||||
references: Additional docs
|
||||
loading_status_message: Loading Copilot response...
|
||||
done_loading_status_message: Done loading Copilot response
|
||||
|
||||
@@ -15,6 +15,11 @@ $mutedTextColor: var(--fgColor-muted, var(--color-fg-muted, #656d76));
|
||||
color: $mutedTextColor;
|
||||
margin: 8px 0px 18px 0px;
|
||||
padding: $bodyPadding;
|
||||
|
||||
a {
|
||||
color: $mutedTextColor;
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.markdownBodyOverrides {
|
||||
|
||||
@@ -298,7 +298,7 @@ export function AskAIResults({
|
||||
<article aria-busy={responseLoading} aria-live="assertive">
|
||||
{!aiCouldNotAnswer && message !== '' ? (
|
||||
<span ref={disclaimerRef} className={styles.disclaimerText}>
|
||||
{t('search.ai.disclaimer')}
|
||||
<span dangerouslySetInnerHTML={{ __html: t('search.ai.disclaimer') }} />
|
||||
</span>
|
||||
) : null}
|
||||
<UnrenderedMarkdownContent
|
||||
|
||||
Reference in New Issue
Block a user