diff --git a/tgui/packages/tgui/interfaces/RndConsoleComponents/DeconstructionMenu.js b/tgui/packages/tgui/interfaces/RndConsoleComponents/DeconstructionMenu.js
index ba6dd776bf8..c37c7c27567 100644
--- a/tgui/packages/tgui/interfaces/RndConsoleComponents/DeconstructionMenu.js
+++ b/tgui/packages/tgui/interfaces/RndConsoleComponents/DeconstructionMenu.js
@@ -19,16 +19,15 @@ export const DeconstructionMenu = (properties, context) => {
if (!loaded_item) {
return (
-
+
No item loaded. Standing by...
-
+
);
}
return (
-
- Deconstruction Menu:
- Name: {loaded_item.name}
+
+ Name: {loaded_item.name}
Origin Tech:
diff --git a/tgui/packages/tgui/interfaces/RndConsoleComponents/LatheMaterials.js b/tgui/packages/tgui/interfaces/RndConsoleComponents/LatheMaterials.js
index 568d547c8aa..d20e0155a0e 100644
--- a/tgui/packages/tgui/interfaces/RndConsoleComponents/LatheMaterials.js
+++ b/tgui/packages/tgui/interfaces/RndConsoleComponents/LatheMaterials.js
@@ -13,31 +13,28 @@ export const LatheMaterials = (properties, context) => {
} = data;
return (
-
-
-
-
- Material Amount:
- {total_materials}
- {max_materials ? (
-
- {" / " + max_materials}
-
- ) : null}
-
-
- Chemical Amount:
- {total_chemicals}
- {max_chemicals ? (
-
- {" / " + max_chemicals}
+
+
+
+ Material Amount:
+ {total_materials}
+ {max_materials ? (
+
+ {" / " + max_materials}
+
+ ) : null}
+
+
+ Chemical Amount:
+ {total_chemicals}
+ {max_chemicals ? (
+
+ {" / " + max_chemicals}
-
- ) : null}
-
-
-
+
+ ) : null}
+
+
-
);
};
diff --git a/tgui/packages/tgui/interfaces/RndConsoleComponents/LatheSearch.js b/tgui/packages/tgui/interfaces/RndConsoleComponents/LatheSearch.js
index 8cfaaefa26e..541e88fc2ba 100644
--- a/tgui/packages/tgui/interfaces/RndConsoleComponents/LatheSearch.js
+++ b/tgui/packages/tgui/interfaces/RndConsoleComponents/LatheSearch.js
@@ -1,21 +1,12 @@
-import { useBackend, useLocalState } from "../../backend";
-import { Input } from "../../components";
+import { useBackend } from "../../backend";
+import { Box, Input } from "../../components";
export const LatheSearch = (properties, context) => {
const { act } = useBackend(context);
-
- const [inputValue, setInputValue] = useLocalState(context, 'inputValue', '');
-
- const onSubmit = e => {
- e.preventDefault();
- act('search', { to_search: inputValue });
- };
-
return (
-
+
+ act('search', { to_search: value })} />
+
);
};
diff --git a/tgui/packages/tgui/interfaces/RndConsoleComponents/RndNavbar.js b/tgui/packages/tgui/interfaces/RndConsoleComponents/RndNavbar.js
index 9d44736cb53..8086e9857f9 100644
--- a/tgui/packages/tgui/interfaces/RndConsoleComponents/RndNavbar.js
+++ b/tgui/packages/tgui/interfaces/RndConsoleComponents/RndNavbar.js
@@ -2,7 +2,7 @@ import { RndRoute, RndNavButton } from "./index";
import { Box } from "../../components";
export const RndNavbar = () => (
-
+
n !== 0} render={() => (
)} />
diff --git a/tgui/packages/tgui/styles/interfaces/RndConsole.scss b/tgui/packages/tgui/styles/interfaces/RndConsole.scss
index 30ce9013d73..3555443969f 100644
--- a/tgui/packages/tgui/styles/interfaces/RndConsole.scss
+++ b/tgui/packages/tgui/styles/interfaces/RndConsole.scss
@@ -31,3 +31,10 @@
padding: .3em .75em;
}
}
+
+.RndConsole__RndNavbar {
+ .Button {
+ // add padding between navbar and contents when any button is visible
+ margin-bottom: 10px;
+ }
+}