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