Reduced vertical spacing in announcements
This commit is contained in:
@@ -837,3 +837,9 @@ table.standings {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
#announcement-dialog h1,
|
||||
#announcement-dialog h2,
|
||||
#announcement-dialog ul {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
@@ -36,7 +36,10 @@ function announcementDeliveryService(comm, json) {
|
||||
closeText: ''
|
||||
});
|
||||
|
||||
$("#announcement-dialog").html(json.content);
|
||||
var content = json.content;
|
||||
content = content.replaceAll("<br/>", "");
|
||||
|
||||
$("#announcement-dialog").html(content);
|
||||
announcementDialog.dialog("open");
|
||||
//Otherwise any links cause it to scroll to the link
|
||||
$("#announcement-dialog").scrollTop("0");
|
||||
|
||||
Reference in New Issue
Block a user