mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 08:30:02 +03:00
actionListHeaderWrapper
This commit is contained in:
parent
498e7aa1b4
commit
6f7649b169
|
@ -5,6 +5,7 @@ import {
|
|||
actionListHeaderCss,
|
||||
actionListHeaderSearchCss,
|
||||
actionListHeaderSelectorCss,
|
||||
actionListHeaderWrapperCss,
|
||||
} from './utils/createStylingFromTheme';
|
||||
|
||||
const getActiveButtons = (hasSkippedActions: boolean): ('Sweep' | 'Commit')[] =>
|
||||
|
@ -41,7 +42,7 @@ const ActionListHeader: FunctionComponent<Props> = ({
|
|||
value={searchValue}
|
||||
/>
|
||||
{!hideMainButtons && (
|
||||
<div {...styling('actionListHeaderWrapper')}>
|
||||
<div css={actionListHeaderWrapperCss}>
|
||||
<RightSlider shown={hasStagedActions} styling={styling}>
|
||||
<div css={actionListHeaderSelectorCss}>
|
||||
{getActiveButtons(hasSkippedActions).map((btn) => (
|
||||
|
|
|
@ -179,12 +179,12 @@ export const actionListHeaderSearchCss: Interpolation<Theme> = (theme) => ({
|
|||
},
|
||||
});
|
||||
|
||||
const getSheetFromColorMap = (map: ColorMap) => ({
|
||||
actionListHeaderWrapper: {
|
||||
export const actionListHeaderWrapperCss = css({
|
||||
position: 'relative',
|
||||
height: '20px',
|
||||
},
|
||||
});
|
||||
|
||||
const getSheetFromColorMap = (map: ColorMap) => ({
|
||||
actionPreview: {
|
||||
flex: 1,
|
||||
display: 'flex',
|
||||
|
|
Loading…
Reference in New Issue
Block a user