Improve readability of the changelog dialog

This commit is contained in:
Jan Solanti 2016-09-01 15:12:34 +03:00
parent 7a89328ccb
commit e85674711c
2 changed files with 7 additions and 1 deletions

View File

@ -50,9 +50,11 @@ export default class ChangelogDialog extends React.Component {
return ( return (
<div key={repo}> <div key={repo}>
<h2>{repo}</h2> <h2>{repo}</h2>
<ul>
{this.state[repo].map(commit => {this.state[repo].map(commit =>
<div key={commit.commit.url}><a href={commit.commit.url}>{commit.commit.message}</a></div> <li key={commit.commit.url} className="mx_ChangelogDialog_li"><a href={commit.commit.url}>{commit.commit.message}</a></li>
)} )}
</ul>
</div> </div>
) )
}); });

View File

@ -18,3 +18,7 @@ limitations under the License.
max-height: 300px; max-height: 300px;
overflow: auto; overflow: auto;
} }
.mx_ChangelogDialog_li {
padding: 0.2em;
}