[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}}"
|
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.
|
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:
|
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
|
references: Additional docs
|
||||||
loading_status_message: Loading Copilot response...
|
loading_status_message: Loading Copilot response...
|
||||||
done_loading_status_message: Done loading Copilot response
|
done_loading_status_message: Done loading Copilot response
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ search:
|
|||||||
search_docs_with_query: Search docs for "{{query}}"
|
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.
|
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:
|
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
|
references: Additional docs
|
||||||
loading_status_message: Loading Copilot response...
|
loading_status_message: Loading Copilot response...
|
||||||
done_loading_status_message: Done 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;
|
color: $mutedTextColor;
|
||||||
margin: 8px 0px 18px 0px;
|
margin: 8px 0px 18px 0px;
|
||||||
padding: $bodyPadding;
|
padding: $bodyPadding;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: $mutedTextColor;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdownBodyOverrides {
|
.markdownBodyOverrides {
|
||||||
|
|||||||
@@ -298,7 +298,7 @@ export function AskAIResults({
|
|||||||
<article aria-busy={responseLoading} aria-live="assertive">
|
<article aria-busy={responseLoading} aria-live="assertive">
|
||||||
{!aiCouldNotAnswer && message !== '' ? (
|
{!aiCouldNotAnswer && message !== '' ? (
|
||||||
<span ref={disclaimerRef} className={styles.disclaimerText}>
|
<span ref={disclaimerRef} className={styles.disclaimerText}>
|
||||||
{t('search.ai.disclaimer')}
|
<span dangerouslySetInnerHTML={{ __html: t('search.ai.disclaimer') }} />
|
||||||
</span>
|
</span>
|
||||||
) : null}
|
) : null}
|
||||||
<UnrenderedMarkdownContent
|
<UnrenderedMarkdownContent
|
||||||
|
|||||||
Reference in New Issue
Block a user