Merge pull request #2056 from jansol/develop

Improve readability of the changelog dialog
pull/2069/head
Matthew Hodgson 2016-09-01 15:16:46 +01:00 committed by GitHub
commit e069d808f8
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;
}