~repos /only-bible-app

#kotlin#android#ios

git clone https://pyrossh.dev/repos/only-bible-app.git
Discussions: https://groups.google.com/g/rust-embed-devs

The only bible app you will ever need. No ads. No in-app purchases. No distractions.


b5478537 pyrossh

HEAD -> master

1 month ago
update padding
ui/bun.lock CHANGED
@@ -9,7 +9,7 @@
9
9
  "@astrojs/sitemap": "^3.4.1",
10
10
  "@tauri-apps/plugin-store": "^2.4.0",
11
11
  "astro": "^5.13.7",
12
- "astro-color-scheme": "^1.1.5",
12
+ "astro-color-scheme": "^1.1.6",
13
13
  "astro-icon": "^1.1.5",
14
14
  "microsoft-cognitiveservices-speech-sdk": "^1.46.0",
15
15
  },
@@ -564,7 +564,7 @@
564
564
 
565
565
  "astro": ["astro@5.13.7", "", { "dependencies": { "@astrojs/compiler": "^2.12.2", "@astrojs/internal-helpers": "0.7.2", "@astrojs/markdown-remark": "6.3.6", "@astrojs/telemetry": "3.3.0", "@capsizecss/unpack": "^2.4.0", "@oslojs/encoding": "^1.1.0", "@rollup/pluginutils": "^5.2.0", "acorn": "^8.15.0", "aria-query": "^5.3.2", "axobject-query": "^4.1.0", "boxen": "8.0.1", "ci-info": "^4.3.0", "clsx": "^2.1.1", "common-ancestor-path": "^1.0.1", "cookie": "^1.0.2", "cssesc": "^3.0.0", "debug": "^4.4.1", "deterministic-object-hash": "^2.0.2", "devalue": "^5.1.1", "diff": "^5.2.0", "dlv": "^1.1.3", "dset": "^3.1.4", "es-module-lexer": "^1.7.0", "esbuild": "^0.25.0", "estree-walker": "^3.0.3", "flattie": "^1.1.1", "fontace": "~0.3.0", "github-slugger": "^2.0.0", "html-escaper": "3.0.3", "http-cache-semantics": "^4.2.0", "import-meta-resolve": "^4.2.0", "js-yaml": "^4.1.0", "kleur": "^4.1.5", "magic-string": "^0.30.18", "magicast": "^0.3.5", "mrmime": "^2.0.1", "neotraverse": "^0.6.18", "p-limit": "^6.2.0", "p-queue": "^8.1.0", "package-manager-detector": "^1.3.0", "picomatch": "^4.0.3", "prompts": "^2.4.2", "rehype": "^13.0.2", "semver": "^7.7.2", "shiki": "^3.12.0", "smol-toml": "^1.4.2", "tinyexec": "^0.3.2", "tinyglobby": "^0.2.14", "tsconfck": "^3.1.6", "ultrahtml": "^1.6.0", "unifont": "~0.5.2", "unist-util-visit": "^5.0.0", "unstorage": "^1.17.0", "vfile": "^6.0.3", "vite": "^6.3.6", "vitefu": "^1.1.1", "xxhash-wasm": "^1.1.0", "yargs-parser": "^21.1.1", "yocto-spinner": "^0.2.3", "zod": "^3.25.76", "zod-to-json-schema": "^3.24.6", "zod-to-ts": "^1.2.0" }, "optionalDependencies": { "sharp": "^0.34.0" }, "bin": "astro.js" }, "sha512-Of2tST7ErbE4y1dVb4aWDXaQSIRBAfraJ4jDqaA3PzPRJOn6Ina36+tQ+8BezjYqiWwRRJdOEE07PRAJXnsddw=="],
566
566
 
567
- "astro-color-scheme": ["astro-color-scheme@1.1.5", "", {}, "sha512-enYqCiSopMkVCmL5tuXgJk9AoJKCYDpV92F0bZUbqTMWHKqPnXwWS+iJC60Rf87b33LhCyFmB2yqAZ+c4RvjGw=="],
567
+ "astro-color-scheme": ["astro-color-scheme@1.1.6", "", {}, "sha512-W4cz+KTMIf6/L2uJgw3Ssj78DVE8x274rHDRg7IXeSlWHSP/Y0OB/SfXzsI6vdYM/mzfubTIATilXA5jpH9ECQ=="],
568
568
 
569
569
  "astro-icon": ["astro-icon@1.1.5", "", { "dependencies": { "@iconify/tools": "^4.0.5", "@iconify/types": "^2.0.0", "@iconify/utils": "^2.1.30" } }, "sha512-CJYS5nWOw9jz4RpGWmzNQY7D0y2ZZacH7atL2K9DeJXJVaz7/5WrxeyIxO8KASk1jCM96Q4LjRx/F3R+InjJrw=="],
570
570
 
ui/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  "@astrojs/sitemap": "^3.4.1",
20
20
  "@tauri-apps/plugin-store": "^2.4.0",
21
21
  "astro": "^5.13.7",
22
- "astro-color-scheme": "^1.1.5",
22
+ "astro-color-scheme": "^1.1.6",
23
23
  "astro-icon": "^1.1.5",
24
24
  "microsoft-cognitiveservices-speech-sdk": "^1.46.0"
25
25
  },
ui/src/components/Header.astro CHANGED
@@ -32,7 +32,9 @@ const chapterItems = Array.from(
32
32
 
33
33
  <div class="header">
34
34
  <Selector title={localBookName} items={bookItems} />
35
+ <div class="chapter-selector">
35
- <Selector title={chapter} items={chapterItems} />
36
+ <Selector title={chapter} items={chapterItems} />
37
+ </div>
36
38
  <div class="bible">
37
39
  <ThemeSwitch strategy="button">
38
40
  <button class="theme-change">
@@ -68,8 +70,8 @@ const chapterItems = Array.from(
68
70
  }
69
71
  }
70
72
 
71
- .chapter {
73
+ .chapter-selector {
72
- margin-left: 10px;
74
+ margin-left: 16px;
73
75
  }
74
76
 
75
77
  .theme-change {
ui/src/components/Selector.astro CHANGED
@@ -57,7 +57,6 @@ const { title, items }: Props = Astro.props;
57
57
  .selector-container {
58
58
  display: inline-block;
59
59
  position: relative;
60
- margin-right: 0.5rem;
61
60
  text-align: left;
62
61
  }
63
62
 
@@ -65,9 +64,6 @@ const { title, items }: Props = Astro.props;
65
64
  display: inline-flex;
66
65
  padding-top: 0.5rem;
67
66
  padding-bottom: 0.5rem;
68
- /* padding-left: 1rem; */
69
- padding-right: 1rem;
70
- /* margin: 0.25rem; */
71
67
  justify-content: center;
72
68
  width: 100%;
73
69
  font-size: 24px;
ui/src/layouts/Layout.astro CHANGED
@@ -99,8 +99,7 @@ import ResetCSS from "@appzic/astro-reset-css";
99
99
  @media (max-width: 768px) {
100
100
  position: sticky;
101
101
  top: 0;
102
- padding-top: max(env(safe-area-inset-top), 20px);
102
+ padding-top: env(safe-area-inset-top);
103
- /* padding-top: env(safe-area-inset-top); */
104
103
  }
105
104
  }
106
105
 
@@ -109,12 +108,12 @@ import ResetCSS from "@appzic/astro-reset-css";
109
108
  background: var(--color-body-bg);
110
109
  position: sticky;
111
110
  bottom: 0;
112
- padding-bottom: max(env(safe-area-inset-bottom), 48px);
111
+ padding-bottom: env(safe-area-inset-bottom);
113
112
  }
114
113
  }
115
114
 
116
115
  main {
117
- padding-left: 16px;
116
+ padding-left: 8px;
118
- padding-right: 16px;
117
+ padding-right: 8px;
119
118
  }
120
119
  </style>