diff --git a/src/custom-components/ReorderableList.tsx b/src/custom-components/ReorderableList.tsx index e202355..21ab60f 100644 --- a/src/custom-components/ReorderableList.tsx +++ b/src/custom-components/ReorderableList.tsx @@ -1,6 +1,6 @@ import { Fragment, JSXElementConstructor, ReactElement, useState } from "react" import { FaEllipsisH } from "react-icons/fa" -import { DialogButton, Field, Focusable, GamepadButton, gamepadDialogClasses, quickAccessControlsClasses } from "../deck-components" +import { DialogButton, Field, Focusable, GamepadButton } from "../deck-components" export type ReorderableEntry = { label: string, @@ -47,27 +47,12 @@ export function ReorderableList(props: ListProps) { justify-content: flex-start; align-content: stretch; } - .reorderable-list .${quickAccessControlsClasses.PanelSection} { - padding: 0px; - } - - .reorderable-list .${gamepadDialogClasses.FieldChildren} { - margin: 0px 16px; - } - - .reorderable-list .${gamepadDialogClasses.FieldLabel} { - margin-left: 16px; - } .reorderable-list .custom-buttons { width: inherit; height: inherit; display: inherit; } - - .reorderable-list .custom-buttons .${gamepadDialogClasses.FieldChildren} { - margin: 0px 16px; - } `}
(props: ListEntryProps) { {props.children} - props.onAction(props.entryData)} onOKButton={() => props.onAction(props.entryData)}> + props.onAction(props.entryData)} onOKButton={() => props.onAction(props.entryData)}>