@sendity/client 0.1.7 → 0.1.8

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.
@@ -85,6 +85,7 @@ const pt = `<template id="sendity-tpl">
85
85
  --sendity-code-border-color:var(--sendity-border-strong);
86
86
  --sendity-code-border-radius: 0.75rem; /* 12 — radius-lg */
87
87
  --sendity-code-padding: 0.95rem 0.75rem;
88
+ --sendity-code-min-height: 3.75rem;
88
89
 
89
90
  /* Channel buttons: muted Sky for Email, brand Emerald for WhatsApp. */
90
91
  --sendity-email-bg: #e0f2fe; /* sky-100 */
@@ -237,6 +238,8 @@ const pt = `<template id="sendity-tpl">
237
238
  border: var(--sendity-code-border-size) var(--sendity-code-border-style) var(--sendity-code-border-color);
238
239
  display: inline-grid;
239
240
  place-items: center;
241
+ min-height: var(--sendity-code-min-height);
242
+ flex: 0 0 auto;
240
243
  text-align: center;
241
244
  gap: 0.5rem;
242
245
  overflow: hidden;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendity/client",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "private": false,
5
5
  "description": "Sendity Client browser integration for passwordless channel-control authentication.",
6
6
  "type": "module",