From c3d459dde95072304c4cdb827745c155a2682470 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Tue, 4 Aug 2020 16:39:20 +0300 Subject: [PATCH] Fixed monkey island version overlap with links on the sidebar on smaller screens --- .../monkey_island/cc/ui/src/components/SideNavComponent.js | 1 + .../monkey_island/cc/ui/src/styles/components/SideNav.scss | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 monkey/monkey_island/cc/ui/src/styles/components/SideNav.scss diff --git a/monkey/monkey_island/cc/ui/src/components/SideNavComponent.js b/monkey/monkey_island/cc/ui/src/components/SideNavComponent.js index d0dae0ef9..c260da2bf 100644 --- a/monkey/monkey_island/cc/ui/src/components/SideNavComponent.js +++ b/monkey/monkey_island/cc/ui/src/components/SideNavComponent.js @@ -8,6 +8,7 @@ import guardicoreLogoImage from '../images/guardicore-logo.png'; import logoImage from '../images/monkey-icon.svg'; import infectionMonkeyImage from '../images/infection-monkey.svg'; import VersionComponent from './side-menu/VersionComponent'; +import '../styles/components/SideNav.scss'; class SideNavComponent extends React.Component { diff --git a/monkey/monkey_island/cc/ui/src/styles/components/SideNav.scss b/monkey/monkey_island/cc/ui/src/styles/components/SideNav.scss new file mode 100644 index 000000000..949191d13 --- /dev/null +++ b/monkey/monkey_island/cc/ui/src/styles/components/SideNav.scss @@ -0,0 +1,6 @@ +.sidebar .version-text { + position: relative; +} +.sidebar .license-link { + position: relative; +}