@social-mail/social-mail-client 1.2.56 → 1.2.57

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-client",
3
- "version": "1.2.56",
3
+ "version": "1.2.57",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -413,6 +413,10 @@ export default class HtmlPageEditor extends AtomControl {
413
413
  }
414
414
  if (n.children) {
415
415
  for (const iterator of n.children) {
416
+ if (typeof iterator === "string") {
417
+ e.append(iterator);
418
+ continue;
419
+ }
416
420
  e.appendChild(build(iterator));
417
421
  }
418
422
  }
@@ -3,17 +3,20 @@ import { stylerVars } from "../../Styler";
3
3
 
4
4
  export const elementLinkButton: any = {
5
5
  "link-button": styled.css `
6
- display: flex;
6
+ display: inline-flex;
7
7
  flex-direction: column;
8
8
  align-items: center;
9
+ justify-content: center;
9
10
  gap: ${stylerVars.sizeDefault};
10
11
  padding-top: ${stylerVars.sizeTiny};
11
12
  padding-bottom: ${stylerVars.sizeTiny};
12
13
  padding-left: ${stylerVars.sizeLarge};
13
14
  padding-right: ${stylerVars.sizeLarge};
14
15
  background: ${stylerVars.buttonBackground};
15
- border: none;
16
16
  color: ${stylerVars.buttonText};
17
+ border: none;
18
+ border-radius: ${stylerVars.sizeLarge};
19
+ text-decoration: none;
17
20
  &:hover {
18
21
  text-decoration: underline;
19
22
  }
@@ -14,6 +14,8 @@ export const elementLinkIconButton: any = {
14
14
  background: ${stylerVars.buttonBackground};
15
15
  color: ${stylerVars.buttonText};
16
16
  border: none;
17
+ border-radius: ${stylerVars.sizeLarge};
18
+ text-decoration: none;
17
19
  &:hover {
18
20
  text-decoration: underline;
19
21
  }