Skip to content

Commit

Permalink
Merge pull request #139 from postmanlabs/markeng-3271
Browse files Browse the repository at this point in the history
navbar mobile fix
  • Loading branch information
ch264 authored Apr 30, 2024
2 parents 3d4d98d + bb5534d commit c3fb3f1
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/components/Header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -324,13 +324,9 @@ const Header = (props) => {
<div className={item.isWidthShort ? `row row__short` : `row dropdown-col-menu`}>
{ item.columns.map((col) => (
<div
// className={
// item.isWidthShort
// ? 'col-sm-6 col-md-6 dropdown-col'
// : 'col-sm-7 col-md-4 dropdown-col'
// }
className={item.columns.length <= 2 ? 'col col-sm-6 col-md-6 dropdown-col' : 'col-sm-7 col-md-4 dropdown-col'}
key={col.title}>
className={item.columns.length <= 2 ? 'col-sm-12 col-md-6 dropdown-col' : 'col-sm-7 col-md-4 dropdown-col'}
key={col.title}
>
<h6 className="dropdown-header">{col.title}</h6>
{col.subItemsCol.map((link) => (
<a
Expand Down

0 comments on commit c3fb3f1

Please sign in to comment.