diff --git a/packages/page-explorer/src/BlockInfo/Extrinsic.tsx b/packages/page-explorer/src/BlockInfo/Extrinsic.tsx
index 14c4778d3e..80849eb427 100644
--- a/packages/page-explorer/src/BlockInfo/Extrinsic.tsx
+++ b/packages/page-explorer/src/BlockInfo/Extrinsic.tsx
@@ -46,7 +46,7 @@ function ExtrinsicDisplay ({ blockNumber, className, events, index, value }: Pro
className={className}
key={`extrinsic:${index}`}
>
-
+ |
- {value.isSigned
- ?
- : null
- }
+ |
+
+ {thisEvents.map((event, index) =>
+
+ )}
|
{value.isSigned
@@ -83,20 +86,12 @@ function ExtrinsicDisplay ({ blockNumber, className, events, index, value }: Pro
{t('index')} {formatNumber(value.nonce)}
+
>
)
: {t('not signed')}
}
|
-
- {thisEvents.map((event, index) =>
-
- )}
- |
);
}
diff --git a/packages/page-explorer/src/BlockInfo/Extrinsics.tsx b/packages/page-explorer/src/BlockInfo/Extrinsics.tsx
index 2ce51bd66a..04fdd441e1 100644
--- a/packages/page-explorer/src/BlockInfo/Extrinsics.tsx
+++ b/packages/page-explorer/src/BlockInfo/Extrinsics.tsx
@@ -22,11 +22,11 @@ function Extrinsics ({ className, blockNumber, events, label, value }: Props): R
const { t } = useTranslation();
return (
-
+
- {label || t('extrinsics')} |
+ {label || t('extrinsics')} |
+ {t('events')} |
{t('signer')} |
- {t('events')} |
{value?.map((extrinsic, index): React.ReactNode =>
diff --git a/packages/react-components/src/Expander.tsx b/packages/react-components/src/Expander.tsx
index c070923c3b..c521bb3318 100644
--- a/packages/react-components/src/Expander.tsx
+++ b/packages/react-components/src/Expander.tsx
@@ -73,18 +73,23 @@ function Expander ({ children, className, isOpen, summary, summaryMeta, withDot,
)}
{hasContent && (isExpanded || withHidden) && (
- {children}
+ {children}
)}
);
}
export default React.memo(styled(Expander)`
- &:not(.isExpanded) .ui--Expander-contents {
+ max-width: 100%;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ width: 100%;
+
+ &:not(.isExpanded) .ui--Expander-content {
display: none;
}
- &.isExpanded .ui--Expander-contents {
+ &.isExpanded .ui--Expander-content {
margin-top: 0.5rem;
}
@@ -93,15 +98,14 @@ export default React.memo(styled(Expander)`
}
.ui--Expander-summary {
- display: block;
margin: 0;
min-width: 12rem;
overflow: hidden;
- white-space: nowrap;
> div {
overflow: hidden;
text-overflow: ellipsis;
+ white-space: nowrap;
}
i.icon {
diff --git a/packages/react-components/src/Table.tsx b/packages/react-components/src/Table.tsx
index 4ebc49f5e9..3af57db5ae 100644
--- a/packages/react-components/src/Table.tsx
+++ b/packages/react-components/src/Table.tsx
@@ -76,6 +76,8 @@ function Table ({ children, className, isFixed }: TableProps): React.ReactElemen
const Memo = React.memo(styled(Table)`
margin-bottom: 1.5rem;
+ max-width: 100%;
+ width: 100%;
&.isFixed table {
table-layout: fixed;
@@ -83,11 +85,12 @@ const Memo = React.memo(styled(Table)`
table {
border-spacing: 0;
+ max-width: 100%;
overflow: hidden;
width: 100%;
thead tr {
- background: #f5f5f5;
+ background: transparent;
text-transform: lowercase;
&.filter th {
@@ -146,6 +149,7 @@ const Memo = React.memo(styled(Table)`
}
tr {
+ max-width: 100%;
width: 100%;
&.isHighlight td {