actionListRows

This commit is contained in:
Nathan Bierema 2023-12-10 23:45:54 -05:00
parent ff256788e5
commit c290c3bb47
2 changed files with 4 additions and 5 deletions

View File

@ -23,6 +23,7 @@ import ActionListRow from './ActionListRow';
import ActionListHeader from './ActionListHeader';
import {
actionListCss,
actionListRowsCss,
actionListWideCss,
} from './utils/createStylingFromTheme';
@ -168,7 +169,7 @@ export default function ActionList<A extends Action<string>>({
/>
<div
data-testid="actionListRows"
{...styling('actionListRows')}
css={actionListRowsCss}
ref={setNodeRef}
>
<DndContext

View File

@ -99,11 +99,9 @@ export const actionListHeaderCss: Interpolation<Theme> = (theme) => ({
borderColor: colorMap(theme).LIST_BORDER_COLOR,
});
const getSheetFromColorMap = (map: ColorMap) => ({
actionListRows: {
overflow: 'auto',
},
export const actionListRowsCss = css({ overflow: 'auto' });
const getSheetFromColorMap = (map: ColorMap) => ({
actionListHeaderSelector: {
display: 'inline-flex',
'margin-right': '10px',