Skip to content

Commit

Permalink
fix(form): Correct App Logo width in Firefox.
Browse files Browse the repository at this point in the history
  • Loading branch information
vinci1it2000 committed Jan 16, 2025
1 parent fefdd72 commit f0d87b4
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const LanguageNav = React.lazy(() => import('./Language'))
const ContactNav = React.lazy(() => import('./Contact'))
const ContentPage = React.lazy(() => import('./ContentPages'))
const {useToken} = theme;
const formatItem = ({path, label, children,href, ...item}, index) => {
const formatItem = ({path, label, children, href, ...item}, index) => {
if (path && typeof label === 'string') {
label = <Link to={path}>{label}</Link>
} else if (href && typeof label === 'string') {
Expand Down Expand Up @@ -193,7 +193,8 @@ const App = (
<div key={'logo'} style={{
height: "100%",
textAlign: 'center',
lineHeight: 'normal'
lineHeight: 'normal',
display: "contents"
}}>{logoElement}</div>
{_items.length ? <Menu
key={'left-menu'}
Expand Down

0 comments on commit f0d87b4

Please sign in to comment.