diff --git a/tgui/packages/tgui/interfaces/Vote.js b/tgui/packages/tgui/interfaces/Vote.js
index a15265d7b42b..a89f5001f388 100644
--- a/tgui/packages/tgui/interfaces/Vote.js
+++ b/tgui/packages/tgui/interfaces/Vote.js
@@ -1,5 +1,5 @@
import { useBackend } from '../backend';
-import { Box, Icon, Stack, Button, Section, NoticeBox, LabeledList, Collapsible } from '../components';
+import { Box, Icon, Button, Section, NoticeBox, LabeledList, Collapsible, Flex } from '../components';
import { Window } from '../layouts';
export const Vote = (props, context) => {
@@ -17,14 +17,14 @@ export const Vote = (props, context) => {
return (
-
+
-
+
);
@@ -45,12 +45,12 @@ const VoteOptions = (props, context) => {
} = data;
return (
-
+
-
-
-
-
+
+
+
+
{!!lower_admin && (
{
-
-
+
+
{!!lower_admin && (
{
onClick={() => act('restart')}>
Restart
-
-
+
+
{!!lower_admin && (
{
onClick={() => act('gamemode')}>
Gamemode
-
-
-
-
+
+
+
+
{!!lower_admin && (
)}
-
-
+
+
-
+
);
};
@@ -123,7 +123,7 @@ const VotersList = (props, context) => {
const { voting } = data;
return (
-
+
{voting.map(voter => {
@@ -131,7 +131,7 @@ const VotersList = (props, context) => {
})}
-
+
);
};
@@ -144,7 +144,7 @@ const ChoicesPanel = (props, context) => {
const { choices, selected_choice } = data;
return (
-
+
{choices.length !== 0 ? (
@@ -180,7 +180,7 @@ const ChoicesPanel = (props, context) => {
No choices available!
)}
-
+
);
};
@@ -193,9 +193,9 @@ const TimePanel = (props, context) => {
const { lower_admin, time_remaining } = data;
return (
-
+
-
+
Time Remaining: {time_remaining || 0}s
{!!lower_admin && (
)}
-
+
-
+
);
};
diff --git a/tgui/yarn.lock b/tgui/yarn.lock
index 9f3777ce0d35..053a58291816 100644
--- a/tgui/yarn.lock
+++ b/tgui/yarn.lock
@@ -5506,12 +5506,12 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
-"marked@npm:^2.0.0":
- version: 2.0.0
- resolution: "marked@npm:2.0.0"
+"marked@npm:^4.0.10":
+ version: 4.0.12
+ resolution: "marked@npm:4.0.12"
bin:
- marked: bin/marked
- checksum: 5b3b13b9b68beb126284d04fedeacee37c847618c091cf575eaa32746cf0af2d65b1ed25b2cc9269b0cdffa2e8dc5aa2daacff81ead68c59a7a6a1656f1d28ed
+ marked: bin/marked.js
+ checksum: b026d6dc5ab8beb6fbb3bac6d20061aa1d845b8668a077797a1fd985c973da7be819c6fd29f7054d0d644a1ba32bd4fa4789b8cb254b299e7bf4ad3629f63560
languageName: node
linkType: hard
@@ -8391,7 +8391,7 @@ fsevents@~2.1.2:
dompurify: ^2.0.17
inferno: ^7.4.2
inferno-vnode-flags: ^7.4.2
- marked: ^2.0.0
+ marked: ^4.0.10
tgui-dev-server: "workspace:*"
tgui-polyfill: "workspace:*"
languageName: unknown