Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 2c610a1

Browse files
UI changes in drink tab
1 parent 3460a9e commit 2c610a1

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

tgui/packages/tgui/interfaces/FoodCart.tsx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ const DrinkTab = (props, context) => {
269269
circular
270270
tooltip="Reagents to be poured into drinking glasses"
271271
icon="info"/>}>
272-
<MixerDrinkRow1 />
272+
<MixerDrinkRow />
273273
</Section>
274274
</Stack.Item>
275275
</Stack>
@@ -353,6 +353,7 @@ const MainDrinkRow = (props, context) => {
353353
const { act, data } = useBackend<Tab>(context);
354354
// Get drink information for cart's container from data
355355
const { mainDrinks = [] } = data;
356+
const { drink_capacity } = data.storage;
356357

357358
if(mainDrinks.length > 0) {
358359
return (
@@ -363,9 +364,10 @@ const MainDrinkRow = (props, context) => {
363364
// Start row for holding ui elements and given data
364365
<Table.Row
365366
key={reagent.drink_name}
366-
fontSize="14px">
367+
fontSize="14px"
368+
height="30px">
367369
<Table.Cell
368-
width="75px"
370+
width="150px"
369371
bold>
370372
{/* Get name */}
371373
{capitalize(reagent.drink_name)}
@@ -449,9 +451,11 @@ const MixerDrinkRow = (props, context) => {
449451
<Table.Row
450452
direction="row"
451453
key={reagent.drink_name}
452-
fontSize="14px">
454+
fontSize="14px"
455+
height="30px">
453456
<Table.Cell
454-
bold>
457+
bold
458+
width="150px">
455459
{/* Get name */}
456460
{capitalize(reagent.drink_name)}
457461
</Table.Cell>

0 commit comments

Comments
 (0)