Skip to content

Commit

Permalink
update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
joshfarrant committed Aug 8, 2024
1 parent 4ca630e commit 3b6a104
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/react/src/SubNav/SubNav.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
display: none !important;
}

.SubNav__sub-menu-children {
display: contents;
}

/*
* Narrow breakpoint
*/
Expand Down
1 change: 1 addition & 0 deletions packages/react/src/SubNav/SubNav.module.css.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ declare const styles: {
readonly "SubNav--full-width": string;
readonly "SubNav__action-container": string;
readonly "SubNav__sub-menu-icon": string;
readonly "SubNav__sub-menu-children": string;
readonly "SubNav--open": string;
readonly "fade-in": string;
readonly "SubNav__links-overlay": string;
Expand Down
4 changes: 3 additions & 1 deletion packages/react/src/SubNav/SubNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,9 @@ const SubNavLinkWithSubmenu = forwardRef<HTMLDivElement, SubNavLinkProps>(
>
<ChevronDownIcon className={styles['SubNav__sub-menu-icon']} size={16} />
</button>
<div id={submenuId}>{SubMenuChildren}</div>
<div id={submenuId} className={styles['SubNav__sub-menu-children']}>
{SubMenuChildren}
</div>
</div>
)
},
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3b6a104

Please sign in to comment.