@fiscalisto/react 0.1.78 → 0.1.80
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/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -99,8 +99,6 @@ export function FiscalistoDialog({ open, onClose, heading, title = "Facturación
|
|
|
99
99
|
}, [open, onClose]);
|
|
100
100
|
if (!open)
|
|
101
101
|
return null;
|
|
102
|
-
// With the live invoice, wide enough for it beside the form (folded on a phone).
|
|
103
|
-
const wide = embed.preview !== false && /\/autofactura\//.test(embed.url);
|
|
104
102
|
const dark = embed.appearance?.theme === "dark" ||
|
|
105
103
|
(embed.appearance?.theme !== "light" &&
|
|
106
104
|
typeof window !== "undefined" &&
|
|
@@ -121,7 +119,9 @@ export function FiscalistoDialog({ open, onClose, heading, title = "Facturación
|
|
|
121
119
|
}, children: _jsxs("div", { style: {
|
|
122
120
|
position: "relative",
|
|
123
121
|
width: "100%",
|
|
124
|
-
|
|
122
|
+
// One column: the autofactura's invoice folds into a bar with its total (it used to
|
|
123
|
+
// sit beside the form at 960 px, and the dialog was as tall as the invoice).
|
|
124
|
+
maxWidth: 520,
|
|
125
125
|
margin: "auto 0",
|
|
126
126
|
borderRadius: 16,
|
|
127
127
|
overflow: "hidden",
|
package/package.json
CHANGED