Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ env:
* {% data variables.product.prodname_dotcom %} ignores case when comparing strings.
* Objects and arrays are only considered equal when they are the same instance.

% data variables.product.prodname_dotcom %} provides a way to create conditional logic in expressions using binary logical operators (`&&` and `||`). This pattern can be used to achieve similar functionality to the ternary operator (`?:`) found in many programming languages, while actually using only binary operators.
{% data variables.product.prodname_dotcom %} provides a way to create conditional logic in expressions using binary logical operators (`&&` and `||`). This pattern can be used to achieve similar functionality to the ternary operator (`?:`) found in many programming languages, while actually using only binary operators.

## Functions

Expand Down
9 changes: 4 additions & 5 deletions src/search/components/input/SearchOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { useRouter } from 'next/router'
import {
ActionList,
Box,
Header,
IconButton,
Link,
Overlay,
Expand Down Expand Up @@ -698,7 +697,7 @@ export function SearchOverlay({
aria-labelledby={overlayHeadingId}
ref={overlayRef}
>
<Header className={styles.header}>
<div className={styles.header}>
<Box
sx={{
display: isAskAIState ? 'flex' : 'none',
Expand Down Expand Up @@ -761,7 +760,7 @@ export function SearchOverlay({
</Stack>
}
/>
</Header>
</div>
<ActionList.Divider
sx={{
display: inErrorState ? 'none' : 'block',
Expand All @@ -776,7 +775,7 @@ export function SearchOverlay({
width: '100%',
}}
/>
<footer key="description" className={styles.footer}>
<div key="description" className={styles.footer}>
<Box
sx={{
display: 'flex',
Expand Down Expand Up @@ -818,7 +817,7 @@ export function SearchOverlay({
}}
dangerouslySetInnerHTML={{ __html: t('search.overlay.privacy_disclaimer') }}
/>
</footer>
</div>
<div
aria-live="assertive"
style={{
Expand Down
Loading