Improve readability of the changelog dialog

pull/2056/head
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 (
<div key={repo}>
<h2>{repo}</h2>
<ul>
{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>
)
});

View File

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