Fix small styling issues

This commit is contained in:
Eugen Rochko 2017-02-17 02:05:15 +01:00
parent f2931af61e
commit dbd80465c8
2 changed files with 8 additions and 2 deletions

View File

@ -53,7 +53,7 @@ const Card = React.createClass({
} }
return ( return (
<a href={card.get('url')} className='status-card'> <a href={card.get('url')} className='status-card' target='_blank' rel='noopener'>
{image} {image}
<div className='status-card__content' style={contentStyle}> <div className='status-card__content' style={contentStyle}>

View File

@ -195,6 +195,8 @@
.report-accounts__item { .report-accounts__item {
flex: 1 1 0; flex: 1 1 0;
display: flex;
flex-direction: column;
& > strong { & > strong {
display: block; display: block;
@ -208,6 +210,10 @@
&:first-child { &:first-child {
margin-right: 10px; margin-right: 10px;
} }
.account-card {
flex: 1 1 auto;
}
} }
.report-status { .report-status {
@ -215,7 +221,7 @@
margin-bottom: 10px; margin-bottom: 10px;
.activity-stream { .activity-stream {
flex: 2 0 auto; flex: 2 0 0;
margin-right: 20px; margin-right: 20px;
} }
} }