mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-20 12:15:51 +02:00
Tweak headings in update changelog renderer
This commit is contained in:
parent
60ed0b8cde
commit
50f1336b1d
@ -125,6 +125,10 @@
|
|||||||
font-size: 23px;
|
font-size: 23px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#tweetduck-changelog h2 + br {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
#tweetduck-changelog h3 {
|
#tweetduck-changelog h3 {
|
||||||
margin: 0 0 5px 7px;
|
margin: 0 0 5px 7px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
@ -281,7 +285,7 @@
|
|||||||
.replace(/`(.*?)`/g, "<code>$1</code>")
|
.replace(/`(.*?)`/g, "<code>$1</code>")
|
||||||
.replace(/\[(.*?)\]\((.*?)\)/g, "<a href='$2'>$1</a>")
|
.replace(/\[(.*?)\]\((.*?)\)/g, "<a href='$2'>$1</a>")
|
||||||
.replace(/^([a-z0-9].*?)$/gmi, "<p>$1</p>")
|
.replace(/^([a-z0-9].*?)$/gmi, "<p>$1</p>")
|
||||||
.replace(/\n\r?\n/g, "<br>");
|
.replace(/\n\r?\n\r?/g, "<br>");
|
||||||
};
|
};
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user