@adriansteffan/reactive 0.1.25 → 0.1.26
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/.claude/settings.local.json +5 -1
- package/dist/{mod-pa8Hci6M.js → mod-BDgNS_RM.js} +4 -4
- package/dist/reactive.es.js +1 -1
- package/dist/reactive.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{web-DvZ82oLB.js → web-DoEAzxsg.js} +1 -1
- package/dist/{web-CWLGQMq-.js → web-tvqjQ4Sx.js} +1 -1
- package/package.json +1 -1
- package/src/components/quest.tsx +2 -2
- package/src/index.css +2 -1
package/package.json
CHANGED
package/src/components/quest.tsx
CHANGED
|
@@ -132,7 +132,7 @@ function Quest({
|
|
|
132
132
|
|
|
133
133
|
const survey = new Model({
|
|
134
134
|
...surveyJson,
|
|
135
|
-
css: { ...defaultCss, root:
|
|
135
|
+
css: { ...defaultCss, root: 'sd-root-modern custom-root' },
|
|
136
136
|
});
|
|
137
137
|
survey.applyTheme(theme ?? ContrastLight);
|
|
138
138
|
|
|
@@ -148,7 +148,7 @@ function Quest({
|
|
|
148
148
|
return (
|
|
149
149
|
<div className={`min-h-screen ${containerClass ?? ''}`}>
|
|
150
150
|
{!containerClass && <div className='absolute inset-0 -z-10 h-full w-full bg-white bg-[radial-gradient(#e5e7eb_1px,transparent_1px)] [background-size:16px_16px]' />}
|
|
151
|
-
<div className=
|
|
151
|
+
<div className={`max-w-4xl mx-auto px-4${containerClass ? ' quest-custom-bg' : ''}`}>
|
|
152
152
|
<Survey model={survey} />
|
|
153
153
|
</div>
|
|
154
154
|
</div>
|
package/src/index.css
CHANGED
|
@@ -94,9 +94,10 @@
|
|
|
94
94
|
font-family: 'Atkinson Hyperlegible', sans-serif; /* Added this line */
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
.sd-root-modern
|
|
97
|
+
.quest-custom-bg .sd-root-modern {
|
|
98
98
|
background-color: transparent !important;
|
|
99
99
|
background-image: none !important;
|
|
100
|
+
background-size: unset !important;
|
|
100
101
|
}
|
|
101
102
|
|
|
102
103
|
.sd-root-modern * {
|