mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 00:19:55 +03:00
actionListItemSelector
This commit is contained in:
parent
ec1d1d4170
commit
a78b4ee8b7
|
@ -10,6 +10,7 @@ import {
|
||||||
actionListItemButtonsCss,
|
actionListItemButtonsCss,
|
||||||
actionListItemCss,
|
actionListItemCss,
|
||||||
actionListItemSelectedCss,
|
actionListItemSelectedCss,
|
||||||
|
actionListItemSelectorCss,
|
||||||
actionListItemSkippedCss,
|
actionListItemSkippedCss,
|
||||||
actionListItemTimeCss,
|
actionListItemTimeCss,
|
||||||
} from './utils/createStylingFromTheme';
|
} from './utils/createStylingFromTheme';
|
||||||
|
@ -121,7 +122,7 @@ export default class ActionListRow<
|
||||||
</div>
|
</div>
|
||||||
</RightSlider>
|
</RightSlider>
|
||||||
<RightSlider styling={styling} shown={showButtons} rotate>
|
<RightSlider styling={styling} shown={showButtons} rotate>
|
||||||
<div {...styling('actionListItemSelector')}>
|
<div css={actionListItemSelectorCss}>
|
||||||
{([BUTTON_JUMP, BUTTON_SKIP] as const).map(
|
{([BUTTON_JUMP, BUTTON_SKIP] as const).map(
|
||||||
(btn) =>
|
(btn) =>
|
||||||
(!isInitAction || btn !== BUTTON_SKIP) && (
|
(!isInitAction || btn !== BUTTON_SKIP) && (
|
||||||
|
|
|
@ -146,11 +146,9 @@ export const actionListItemTimeCss: Interpolation<Theme> = (theme) => ({
|
||||||
color: colorMap(theme).ACTION_TIME_COLOR,
|
color: colorMap(theme).ACTION_TIME_COLOR,
|
||||||
});
|
});
|
||||||
|
|
||||||
const getSheetFromColorMap = (map: ColorMap) => ({
|
export const actionListItemSelectorCss = css({ display: 'inline-flex' });
|
||||||
actionListItemSelector: {
|
|
||||||
display: 'inline-flex',
|
|
||||||
},
|
|
||||||
|
|
||||||
|
const getSheetFromColorMap = (map: ColorMap) => ({
|
||||||
actionListItemName: {
|
actionListItemName: {
|
||||||
overflow: 'hidden',
|
overflow: 'hidden',
|
||||||
'text-overflow': 'ellipsis',
|
'text-overflow': 'ellipsis',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user