Explorer flex for events, extrinsics (medium+) (#689)

This commit is contained in:
Jaco Greeff 2019-02-11 11:48:07 +01:00 committed by GitHub
parent dbaea308cc
commit 3a70c0b587
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 5 deletions

View File

@ -25,7 +25,7 @@ class Events extends React.PureComponent<Props> {
return (
<section>
<h1>{t('events')}</h1>
<div className='explorer--BlockByHash-flexable'>
<div className='explorer--BlockByHash-flexable ui--flex-medium'>
<EventsDisplay
eventClassName='explorer--BlockByHash-block'
value={value}

View File

@ -40,7 +40,7 @@ class Extrinsics extends React.PureComponent<Props> {
}
return (
<div className='explorer--BlockByHash-flexable'>
<div className='explorer--BlockByHash-flexable ui--flex-medium'>
{value.map(this.renderExtrinsic)}
</div>
);

View File

@ -26,7 +26,7 @@ class Logs extends React.PureComponent<Props> {
return (
<section>
<h1>{t('logs')}</h1>
<div className='explorer--BlockByHash-flexable'>
<div className='explorer--BlockByHash-flexable ui--flex-medium'>
{value.map(this.renderItem)}
</div>
</section>

View File

@ -31,7 +31,6 @@
}
.explorer--BlockByHash-flexable {
display: flex;
flex-wrap: wrap;
margin-top: -0.5rem;
}
@ -39,7 +38,6 @@
.explorer--BlockByHash-block {
flex: 0 0 50%;
min-width: 0;
max-width: 50%;
}
.explorer--Container {