mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 18:25:49 +03:00
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 (
|
||||
<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>
|
||||
)
|
||||
});
|
||||
|
|
|
@ -18,3 +18,7 @@ limitations under the License.
|
|||
max-height: 300px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.mx_ChangelogDialog_li {
|
||||
padding: 0.2em;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue