Skip to content

Commit

Permalink
List window tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
AyIong committed Dec 8, 2023
1 parent 9bd0948 commit 9047b5d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion code/modules/tgui/modules/tgui_input_list.dm
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
/datum/tgui_list_input/ui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = FALSE, datum/tgui/master_ui = null, datum/ui_state/state = GLOB.always_state)
ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open)
if(!ui)
ui = new(user, src, ui_key, "ListInput", title, 325, 330, master_ui, state)
ui = new(user, src, ui_key, "ListInput", title, 325, 355, master_ui, state)
ui.set_autoupdate(FALSE)
ui.open()

Expand Down
4 changes: 2 additions & 2 deletions tgui/packages/tgui/interfaces/ListInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const ListInput = (props, context) => {
buttons[0]
);
return (
<Window title={title}>
<Window title={title} resizable>
{timeout !== undefined && <Loader value={timeout} />}
<Window.Content>
<Flex direction="column" height="100%">
Expand Down Expand Up @@ -151,7 +151,7 @@ export const ListInput = (props, context) => {
/>
}
>
<Flex wrap="wrap">
<Flex wrap="wrap" overflowX="hidden">
{displayedArray.map((button) => (
<Flex.Item key={button} basis="100%">
<Button
Expand Down
6 changes: 3 additions & 3 deletions tgui/packages/tgui/public/tgui.bundle.js

Large diffs are not rendered by default.

0 comments on commit 9047b5d

Please sign in to comment.