diff --git a/packages/ui-app/src/Call.tsx b/packages/ui-app/src/Call.tsx index 7da098c720..dc530cc02e 100644 --- a/packages/ui-app/src/Call.tsx +++ b/packages/ui-app/src/Call.tsx @@ -10,7 +10,7 @@ import styled from 'styled-components'; import { Method, getTypeDef } from '@polkadot/types'; import Params from '@polkadot/ui-params'; -import Labelled from './Labelled'; +import Static from './Static'; import { classes } from './util'; export type Props = BareProps & { @@ -19,10 +19,11 @@ export type Props = BareProps & { }; const Wrapper = styled.div` - .hash { - opacity: 0.5; + .hash .ui--Static { overflow: hidden; text-overflow: ellipsis; + word-break: unset; + word-wrap: unset; } `; @@ -47,13 +48,7 @@ export default class Call extends React.PureComponent { {children} { hash - ? ( - -
- {hash.toHex()} -
-
- ) + ? {hash.toHex()} : null }