From fa171b8fe1fa463f2b7f137ff2e209bae9c1f770 Mon Sep 17 00:00:00 2001
From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com>
Date: Mon, 4 Jul 2022 07:38:14 +0200
Subject: [PATCH 1/2] remove links
---
src/components/Sidebar/FooterMenu.react.js | 8 ++------
src/components/Sidebar/Sidebar.react.js | 7 -------
src/components/Sidebar/Sidebar.scss | 8 ++++----
3 files changed, 6 insertions(+), 17 deletions(-)
diff --git a/src/components/Sidebar/FooterMenu.react.js b/src/components/Sidebar/FooterMenu.react.js
index af09f3abf0..95cf631525 100644
--- a/src/components/Sidebar/FooterMenu.react.js
+++ b/src/components/Sidebar/FooterMenu.react.js
@@ -26,7 +26,7 @@ export default class FooterMenu extends React.Component {
toggle() {
let pos = Position.inWindow(this.moreRef.current);
- pos.x += 24;
+ pos.x += 95;
this.setState({
show: true,
position: pos
@@ -50,11 +50,7 @@ export default class FooterMenu extends React.Component {
position={this.state.position}
onExternalClick={() => this.setState({ show: false })}>
);
diff --git a/src/components/Sidebar/Sidebar.react.js b/src/components/Sidebar/Sidebar.react.js
index c3c2c6c806..cc51068214 100644
--- a/src/components/Sidebar/Sidebar.react.js
+++ b/src/components/Sidebar/Sidebar.react.js
@@ -179,13 +179,6 @@ const Sidebar = ({
{sidebarContent}
diff --git a/src/components/Sidebar/Sidebar.scss b/src/components/Sidebar/Sidebar.scss
index 65e9bfe414..99a2040532 100644
--- a/src/components/Sidebar/Sidebar.scss
+++ b/src/components/Sidebar/Sidebar.scss
@@ -363,7 +363,7 @@ a.subitem {
content: '';
position: absolute;
bottom: -6px;
- right: 11px;
+ right: 94px;
}
a {
@@ -372,7 +372,7 @@ a.subitem {
height: 30px;
line-height: 31px;
font-size: 13px;
- text-align: right;
+ text-align: center;
border-bottom: 1px solid #e0e0ea;
color: $mainTextColor;
padding-right: 8px;
@@ -381,12 +381,12 @@ a.subitem {
}
&:first-child {
- border-radius: 5px 5px 0 0;
+ border-radius: 5px 5px 5px 5px;
}
&:last-child {
border-bottom: 0;
- border-radius: 0 0 5px 5px;
+ border-radius: 5px 5px 5px 5px;
}
.emoji{
From 0f5e6b69abbf0ca54a3f9693e181f7787268e8b3 Mon Sep 17 00:00:00 2001
From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com>
Date: Mon, 4 Jul 2022 07:43:50 +0200
Subject: [PATCH 2/2] increase height
---
src/components/Sidebar/FooterMenu.react.js | 2 +-
src/components/Sidebar/Sidebar.scss | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/components/Sidebar/FooterMenu.react.js b/src/components/Sidebar/FooterMenu.react.js
index 95cf631525..de471f5ce7 100644
--- a/src/components/Sidebar/FooterMenu.react.js
+++ b/src/components/Sidebar/FooterMenu.react.js
@@ -50,7 +50,7 @@ export default class FooterMenu extends React.Component {
position={this.state.position}
onExternalClick={() => this.setState({ show: false })}>
);
diff --git a/src/components/Sidebar/Sidebar.scss b/src/components/Sidebar/Sidebar.scss
index 99a2040532..6281bcaaf2 100644
--- a/src/components/Sidebar/Sidebar.scss
+++ b/src/components/Sidebar/Sidebar.scss
@@ -369,8 +369,8 @@ a.subitem {
a {
@include NotoSansFont;
display: block;
- height: 30px;
- line-height: 31px;
+ height: 40px;
+ line-height: 41px;
font-size: 13px;
text-align: center;
border-bottom: 1px solid #e0e0ea;