accomadesc 0.4.29 → 0.4.30
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/Section.svelte +5 -1
- package/package.json +1 -1
package/dist/Section.svelte
CHANGED
|
@@ -73,8 +73,12 @@
|
|
|
73
73
|
}
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
+
// max-width caps the section; padding always applies as side gutters
|
|
77
|
+
// (box-sizing is border-box, so padding stays inside the cap). Either/or
|
|
78
|
+
// dropped padding whenever maxWidth was set — and the editor defaults
|
|
79
|
+
// maxWidth to '100%', so configured gutters never rendered.
|
|
76
80
|
let widthStyle = $derived(
|
|
77
|
-
maxWidth ? `max-width: ${maxWidth};` :
|
|
81
|
+
`${maxWidth ? `max-width: ${maxWidth};` : ''}padding-left: ${padding}; padding-right: ${padding};`,
|
|
78
82
|
);
|
|
79
83
|
</script>
|
|
80
84
|
|