Skip to content

Commit

Permalink
Merge branch 'develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzy11 authored Jun 10, 2024
2 parents 5aa36ad + de39a8d commit f044640
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/components/layout/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ function OEHeader(props) {
return (
<button
className={"custom-sidenav-button"}
style={{ "margin-left": marginValue }}
style={{ marginLeft: marginValue }}
onClick={() => {
if (menuItem.menu.openInNewWindow) {
window.open(menuItem.menu.actionURL);
Expand All @@ -232,7 +232,7 @@ function OEHeader(props) {
return (
<button
className={"custom-sidenav-button"}
style={{ "margin-left": marginValue }}
style={{ marginLeft: marginValue }}
onClick={(e) => {
onClickSideNavItem(e, menuItem, path);
}}
Expand All @@ -253,7 +253,7 @@ function OEHeader(props) {
? "custom-sidenav-button"
: "custom-sidenav-button-unclickable"
}
style={{ "margin-left": marginValue }}
style={{ marginLeft: marginValue }}
onClick={() => {
if (menuItem.menu.openInNewWindow) {
window.open(menuItem.menu.actionURL);
Expand Down Expand Up @@ -298,7 +298,7 @@ function OEHeader(props) {
const renderSideNavMenuItemLabel = (menuItem, level) => {
const fontPercent = 100 - 5 * (level - 1) + "%";
return (
<span style={{ "font-size": fontPercent }}>
<span style={{ fontSize: fontPercent }}>
<FormattedMessage id={menuItem.menu.displayKey} />
</span>
);
Expand Down

0 comments on commit f044640

Please sign in to comment.