Skip to content

Commit

Permalink
feat: Suppress "Add detour" dropdown on mobile (#2716)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshlarson authored Aug 5, 2024
1 parent db3dd80 commit 0f120e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/src/components/routeLadder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const Header = ({
{showDropdown && (
<Dropdown className="border-box inherit-box">
<Dropdown.Toggle
className="c-route-ladder__dropdown-button"
className="c-route-ladder__dropdown-button d-none d-sm-block"
aria-labelledby={joinTruthy([
routePillId,
routeOptionsToggleId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1345,7 +1345,7 @@ exports[`routeLadder renders a route ladder with the new header and detour dropd
<button
aria-expanded="false"
aria-labelledby="route-pill:r4: route-options-toggle:r5:"
class="c-route-ladder__dropdown-button dropdown-toggle btn btn-primary"
class="c-route-ladder__dropdown-button d-none d-sm-block dropdown-toggle btn btn-primary"
id="react-aria-:r6:"
type="button"
>
Expand Down

0 comments on commit 0f120e8

Please sign in to comment.