Skip to content

Commit e06e290

Browse files
committed
Merge branch 'main' into 207-menu-button-color
2 parents 6ae2844 + f2b84fd commit e06e290

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

src/compounds/Header/Header.jsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@ import PropTypes from 'prop-types'
33
import { Container, Nav, Navbar } from 'react-bootstrap'
44
import ToggleIcon from '../../assets/svg/ToggleIcon'
55
import Logo from '../Logo/Logo'
6+
import './styles.scss'
67

78
const Header = ({ auth, linkColor, logo, navLinks, userSession }) => {
89
const { src, alt } = logo
910

1011
return (
1112
<Navbar bg='primary' expand='md'>
1213
<Container>
13-
<Navbar.Brand className='w-50'>
14-
<Logo src={src} alt={alt} height={45} />
14+
<Navbar.Brand className='w-75 custom-navbar-brand'>
15+
<Logo src={src} alt={alt} height='auto' addClass='mw-100 mh-100' />
1516
</Navbar.Brand>
1617
<Navbar.Toggle aria-controls='basic-navbar-nav'>
1718
<ToggleIcon linkColor={linkColor} />

src/compounds/Header/styles.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.custom-navbar-brand {
2+
height: 45px;
3+
}

src/compounds/ItemGroup/ItemGroup.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import './item-group.scss'
99
const ItemGroup = ({ buttonProps, items, isLoading, orientation, withButtonLink, withTitleLink }) => (
1010
<>
1111
<Title addClass='mb-2' size='large' title='Featured Services' />
12-
<Row xs={1} sm={2} className={`g-5 mb-5 ${orientation === 'vertical' && 'row-cols-md-3'}`} data-cy='item-group'>
12+
<Row xs={1} sm={2} className={`gy-5 mb-5 ${orientation === 'vertical' && 'row-cols-md-3'}`} data-cy='item-group'>
1313
{isLoading
1414
? (
1515
<>

0 commit comments

Comments
 (0)