diff --git a/doc/src/components/common/componentData/Navbar/index.js b/doc/src/components/common/componentData/Navbar/index.js index d142ff4c..747f4637 100644 --- a/doc/src/components/common/componentData/Navbar/index.js +++ b/doc/src/components/common/componentData/Navbar/index.js @@ -145,10 +145,6 @@ export const componentData = { render() { - const MenuIcon = () => ( - - ); - return (
@@ -160,7 +156,7 @@ export const componentData = { {/* Navbar with icon on left set with leftIcon prop */} - } title="logo" /> + diff --git a/lib/navbar/theme.module.scss b/lib/navbar/theme.module.scss index 5d586382..d6ff09c2 100644 --- a/lib/navbar/theme.module.scss +++ b/lib/navbar/theme.module.scss @@ -2,11 +2,10 @@ :local(.navbarWrapper) { z-index: 2; + display: flex; box-sizing: border-box; width: 100%; - height: 81px; - height: fit-content; - height: -moz-fit-content; + height: 5rem; font-family: 'Roboto'; box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.5); .clearfix { @@ -15,8 +14,10 @@ } :local(.innerWrapper) { display: flex; + padding: 0% 2%; z-index: 2; justify-content: space-between; + align-items: center; height: 100%; width: 100%; position: relative; @@ -31,6 +32,8 @@ box-sizing: border-box; padding: 2%; display: flex; + width: fit-content; + width: -moz-fit-content; align-items: center; } :local(.title) { @@ -39,7 +42,6 @@ height: 33px; font-size: 24px; font-weight: bold; - text-transform: uppercase; color: $white; margin-right: 15px; white-space: nowrap; @@ -58,17 +60,12 @@ cursor: pointer; svg, img { width: auto; - height: 100%; + height: 70%; color: $white; fill: $white; } } -:local(.leftIcon) { - margin-right: 15px; -} -:local(.rightIcon) { - margin-left: 15px; -} + :local(.fixedPosition) { position: fixed; top: 0; @@ -122,8 +119,7 @@ @media only screen and (max-width: 768px) { .icon-menu { display: block; - background: white; - color: $cool-blue; + color: white; } :local(.navlinks) {