Merge pull request #2056 from jansol/develop
Improve readability of the changelog dialog
This commit is contained in:
commit
e069d808f8
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
||||||
)
|
)
|
||||||
});
|
});
|
||||||
|
|
|
@ -18,3 +18,7 @@ limitations under the License.
|
||||||
max-height: 300px;
|
max-height: 300px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mx_ChangelogDialog_li {
|
||||||
|
padding: 0.2em;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue