Skip to content

Commit

Permalink
fix(ui): changelog spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Oct 6, 2023
1 parent 69d9d4c commit c6abd78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1122,15 +1122,15 @@ export default {
current.body = current.body.replace(
new RegExp(
`## \\[${currentVersion}\\]\\([^\\)]+\\)`,
`#+ \\[${currentVersion}\\]\\([^\\)]+\\)`,
'g'
),
`## Z-Wave JS UI [${current.tag_name}](https://github.com/zwave-js/zwave-js-ui/releases/tag/${current.tag_name})`
)
let changelog = md()
.render(current.body)
.replace('<p>', '</br><p>')
.replace('</h2>', '</h2><br>')
if (this.appInfo.zwaveVersion !== versions?.zwave) {
// get changelog from github latest release
Expand Down Expand Up @@ -1173,7 +1173,7 @@ export default {
// means we never saw the changelog for this version
const result = await this.confirm(
`Changelog`,
changelog,
`<div style="line-height: 1.5rem">${changelog}</div>`,
'info',
{
width: 1000,
Expand Down

0 comments on commit c6abd78

Please sign in to comment.