@adriansteffan/reactive 0.1.18 → 0.1.20

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.
@@ -1,4 +1,4 @@
1
- import { W as P, b as x, E } from "./mod-DBeKCZPw.js";
1
+ import { W as P, b as x, E } from "./mod-BSkJXjbN.js";
2
2
  function m(w) {
3
3
  const e = w.split("/").filter((t) => t !== "."), r = [];
4
4
  return e.forEach((t) => {
@@ -1,4 +1,4 @@
1
- import { W as e } from "./mod-DBeKCZPw.js";
1
+ import { W as e } from "./mod-BSkJXjbN.js";
2
2
  class s extends e {
3
3
  async enable() {
4
4
  console.log("Immersive mode is only available on Android");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adriansteffan/reactive",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -130,7 +130,7 @@ export default function EnterFullscreen({
130
130
 
131
131
 
132
132
  if (isWaiting) {
133
- return null;
133
+ return <div className={`min-h-screen ${containerClass ?? ''}`} />;
134
134
  }
135
135
 
136
136
  return (
@@ -193,7 +193,7 @@ export const Tutorial = ({
193
193
 
194
194
  <div
195
195
  style={{
196
- padding: '1.5rem',
196
+ padding: '1.5rem 1.5rem 3rem',
197
197
  display: 'grid',
198
198
  gridTemplateColumns: '1fr auto 1fr',
199
199
  alignItems: 'center',
@@ -380,8 +380,8 @@ export default function Upload({
380
380
  }, [uploadState]);
381
381
 
382
382
  return (
383
- <div className={`min-h-screen ${containerClass ?? ''}`}>
384
- <div className={`flex flex-col items-center justify-center gap-4 p-6 text-xl mt-16 px-10 ${className ?? ''}`}>
383
+ <div className={containerClass ?? ''} style={{ position: 'fixed', inset: 0 }}>
384
+ <div className={`flex flex-col items-center justify-center gap-4 p-6 text-xl mt-16 px-10 h-full ${className ?? ''}`}>
385
385
  {uploadState == 'initial' && !autoUpload && (
386
386
  <>
387
387
  {content ?? <p>Thank you for participating! Please click the button below to submit your data.</p>}