1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 12:12:48 +01:00

Fix header markdown

This commit is contained in:
Hillel Coren 2017-10-17 18:35:18 +03:00
parent 4f8f1ddcae
commit bcda5ce0c7
13 changed files with 18 additions and 13 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1128,7 +1128,7 @@ NINJA.parseMarkdownText = function(val, groupText)
['\\\*(\\\w.+?)\\\*', {'italics': true}], // *value*
['^###(.*)', {'style': 'help'}], // ### Small/gray help
['^##(.*)', {'style': 'subheader'}], // ## Header
['^#(.*)', {'style': 'header'}] // # Subheader
['^#(.*)', {'style': 'fullheader'}] // # Subheader
];
var parts = typeof val === 'string' ? [val] : val;

View File

@ -248,7 +248,7 @@
"bold": true,
"margin": [0, 0, 0, 4]
},
"header": {
"fullheader": {
"font": "$headerFont",
"fontSize": "$fontSizeLargest",
"bold": true
@ -269,4 +269,4 @@
}
},
"pageMargins": [0, 80, 0, 40]
}
}

View File

@ -234,7 +234,7 @@
"bold": true,
"margin": [0, 0, 0, 4]
},
"header": {
"fullheader": {
"fontSize": "$fontSizeLargest",
"bold": true
},

View File

@ -194,7 +194,7 @@
"termsLabel": {
"bold": true
},
"header": {
"fullheader": {
"font": "$headerFont",
"fontSize": "$fontSizeLargest",
"bold": true

View File

@ -205,7 +205,7 @@
"bold": true,
"margin": [0, 0, 0, 4]
},
"header": {
"fullheader": {
"fontSize": "$fontSizeLargest",
"bold": true
},

View File

@ -152,6 +152,11 @@
"color": "$primaryColor:#5a7b61",
"bold": true
},
"fullheader": {
"font": "$headerFont",
"fontSize": "$fontSizeLargest",
"bold": true
},
"header": {
"fontSize": 14,
"bold": true

View File

@ -202,7 +202,7 @@
"bold": true,
"margin": [0, 16, 0, 4]
},
"header": {
"fullheader": {
"fontSize": "$fontSizeLargest",
"bold": true
},

View File

@ -239,7 +239,7 @@
"invoiceNumber": {
"bold": true
},
"header": {
"fullheader": {
"font": "$headerFont",
"fontSize": "$fontSizeLargest",
"bold": true

View File

@ -168,7 +168,7 @@
"bold": true,
"margin": [0, 0, 0, 4]
},
"header": {
"fullheader": {
"fontSize": "$fontSizeLargest",
"bold": true
},

View File

@ -163,7 +163,7 @@
"subtotalsBalanceDue": {
"fillColor": "#e6e6e6"
},
"header": {
"fullheader": {
"font": "$headerFont",
"fontSize": "$fontSizeLargest",
"bold": true

View File

@ -256,7 +256,7 @@
"bold": true,
"margin": [0, 0, 0, 4]
},
"header": {
"fullheader": {
"fontSize": "$fontSizeLargest",
"bold": true
},