mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 07:59:48 +03:00
actionListItemName
This commit is contained in:
parent
a78b4ee8b7
commit
184f841207
|
@ -9,6 +9,8 @@ import {
|
|||
actionListFromFutureCss,
|
||||
actionListItemButtonsCss,
|
||||
actionListItemCss,
|
||||
actionListItemNameCss,
|
||||
actionListItemNameSkippedCss,
|
||||
actionListItemSelectedCss,
|
||||
actionListItemSelectorCss,
|
||||
actionListItemSkippedCss,
|
||||
|
@ -91,10 +93,10 @@ export default class ActionListRow<
|
|||
]}
|
||||
>
|
||||
<div
|
||||
{...styling([
|
||||
'actionListItemName',
|
||||
isSkipped && 'actionListItemNameSkipped',
|
||||
])}
|
||||
css={[
|
||||
actionListItemNameCss,
|
||||
isSkipped && actionListItemNameSkippedCss,
|
||||
]}
|
||||
>
|
||||
{actionType}
|
||||
</div>
|
||||
|
|
|
@ -148,18 +148,18 @@ export const actionListItemTimeCss: Interpolation<Theme> = (theme) => ({
|
|||
|
||||
export const actionListItemSelectorCss = css({ display: 'inline-flex' });
|
||||
|
||||
export const actionListItemNameCss = css({
|
||||
overflow: 'hidden',
|
||||
textOverflow: 'ellipsis',
|
||||
lineHeight: '20px',
|
||||
});
|
||||
|
||||
export const actionListItemNameSkippedCss = css({
|
||||
textDecoration: 'line-through',
|
||||
opacity: 0.3,
|
||||
});
|
||||
|
||||
const getSheetFromColorMap = (map: ColorMap) => ({
|
||||
actionListItemName: {
|
||||
overflow: 'hidden',
|
||||
'text-overflow': 'ellipsis',
|
||||
'line-height': '20px',
|
||||
},
|
||||
|
||||
actionListItemNameSkipped: {
|
||||
'text-decoration': 'line-through',
|
||||
opacity: 0.3,
|
||||
},
|
||||
|
||||
actionListHeaderSearch: {
|
||||
outline: 'none',
|
||||
border: 'none',
|
||||
|
|
Loading…
Reference in New Issue
Block a user