aboutsummaryrefslogtreecommitdiffstats
path: root/gui-clamp/ui-react/src/components/menu/MenuBar.js
diff options
context:
space:
mode:
authorbrunomilitzer <bruno.militzer@est.tech>2022-03-14 11:29:25 +0000
committerbrunomilitzer <bruno.militzer@est.tech>2022-03-14 17:16:31 +0000
commit1e27cabdaf7c89a2c7381c8a46697be007778445 (patch)
tree122ebf8705508f8ffea8594ba81cfe2a4fb6326a /gui-clamp/ui-react/src/components/menu/MenuBar.js
parent5d87357d69ec81962fd6128a8aa12086b97f199f (diff)
Added more unit tests for overall coverage
Issue-ID: POLICY-3932 Change-Id: I481f5da35047da7a790f02368cc915d5e1a9e04d Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
Diffstat (limited to 'gui-clamp/ui-react/src/components/menu/MenuBar.js')
-rw-r--r--gui-clamp/ui-react/src/components/menu/MenuBar.js11
1 files changed, 3 insertions, 8 deletions
diff --git a/gui-clamp/ui-react/src/components/menu/MenuBar.js b/gui-clamp/ui-react/src/components/menu/MenuBar.js
index 769edb0..5ac5f88 100644
--- a/gui-clamp/ui-react/src/components/menu/MenuBar.js
+++ b/gui-clamp/ui-react/src/components/menu/MenuBar.js
@@ -37,24 +37,20 @@ const StyledLink = styled(Link)`
text-align: inherit;
white-space: nowrap;
border: 0;
-
:hover {
text-decoration: none;
background-color: ${ props => props.theme.menuHighlightedBackgroundColor };
color: ${ props => props.theme.menuHighlightedFontColor };
- }
-`;
+ }`;
const StyledNavLink = styled(Nav.Link)`
color: ${ props => props.theme.menuFontColor };
background-color: ${ props => props.theme.menuBackgroundColor };
font-weight: normal;
padding: .25rem 1.5rem;
-
:hover {
background-color: ${ props => props.theme.menuHighlightedBackgroundColor };
color: ${ props => props.theme.menuHighlightedFontColor };
- }
-`;
+ }`;
const StyledNavDropdown = styled(NavDropdown)`
color: ${ props => props.theme.menuFontColor };
@@ -67,8 +63,7 @@ const StyledNavDropdown = styled(NavDropdown)`
:hover {
font-weight: bold;
}
- }
-`;
+ }`;
export default class MenuBar extends React.Component {
state = {