sitero 0.0.17 → 0.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -67,48 +67,13 @@ function createOrderCompleteAdminEmail(ctx) {
67
67
  };
68
68
  }
69
69
  const productItemHtml = (name, quantity, price) => `
70
- <tr>
71
- <td
72
- style="
73
- border: 1px solid #ddd;
74
- padding: 10px 8px;
75
- width: 50%;
76
- line-height: 20px;
77
- text-align: left;
78
- vertical-align: top;
79
- "
80
- >
81
- ${name}
82
- </td>
83
- <td
84
- style="
85
- border: 1px solid #ddd;
86
- padding: 10px 8px;
87
- width: 15%;
88
- line-height: 20px;
89
- text-align: right;
90
- vertical-align: top;
91
- white-space: nowrap;
92
- word-break: keep-all;
93
- "
94
- >
95
- ${quantity}
96
- </td>
97
- <td
98
- style="
99
- border: 1px solid #ddd;
100
- padding: 10px 8px;
101
- width: 35%;
102
- line-height: 20px;
103
- text-align: right;
104
- vertical-align: top;
105
- white-space: nowrap;
106
- word-break: keep-all;
107
- "
108
- >
109
- NT $${price}
110
- </td>
111
- </tr>
70
+ <tr style="text-align: right">
71
+ <td style="border-bottom: 1px solid #ddd; padding: 2px 6px">
72
+ ${name}
73
+ </td>
74
+ <td style="border-bottom: 1px solid #ddd; padding: 2px 6px">${quantity}</td>
75
+ <td style="border-bottom: 1px solid #ddd; padding: 2px 6px">NT $${price}</td>
76
+ </tr>
112
77
  `;
113
78
 
114
79
  export { createOrderCompleteAdminEmail };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sitero",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "author": "Yiming Liao",
5
5
  "license": "MIT",
6
6
  "type": "module",