diff --git a/src/App.scss b/src/App.scss
index e83b1ac1..da794f22 100644
--- a/src/App.scss
+++ b/src/App.scss
@@ -32,12 +32,13 @@ a {
&> div {
border-right: 1px solid #e5e5e5;
text-align: center;
- min-height: 4em;
+ min-height: 4rem;
+ max-height: 4rem;
display: flex;
}
&> div:not(.apps) {
- min-width: 4em;
+ min-width: 4rem;
align-items: center !important;
justify-content: center !important;
}
diff --git a/src/components/Sidebar.js b/src/components/Sidebar.js
index 960eaa04..2f53d54a 100644
--- a/src/components/Sidebar.js
+++ b/src/components/Sidebar.js
@@ -23,163 +23,146 @@ export function Sidebar(props) {
<>
-
Near Social}
- >
-
-
-
- {" "}
-
-
+
+
+
+
+
{NearConfig.widgets.navigationApps && (
)}
-
Notifications}
- >
-
-
-
-
-
Widget}
- >
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+ New widget
+
+
+ {widgetSrc?.edit && (
+ -
+
+ {widgetSrc.edit.startsWith(
+ `${props.signedAccountId}/widget/`
+ )
+ ? "Edit widget"
+ : "Fork widget"}
+
+
+ )}
+ {widgetSrc?.view && (
-
-
- New widget
+
+ View source
- {widgetSrc?.edit && (
+ )}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {props.signedIn ? (
+ <>
-
- withdrawStorage(e)}
+ title={`Withdraw all available storage`}
>
- {widgetSrc.edit.startsWith(
- `${props.signedAccountId}/widget/`
- )
- ? "Edit widget"
- : "Fork widget"}
-
+ Withdraw{" "}
+ {props.availableStorage &&
+ props.availableStorage.div(1000).toFixed(2)}
+ kb
+
- )}
- {widgetSrc?.view && (
-
-
- View source
-
+
- )}
-
-
-
-
- Account}
- >
-
-
-
-
-
-
-
-
-
- {props.signedIn ? (
- <>
- -
-
-
- -
-
-
- -
-
-
- >
- ) : (
-
- )}
-
-
+ >
+ ) : (
+
-
+
+
+ )}
+
-
+
{props.children}