@novely/solid-renderer 0.0.4 → 0.0.5

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.jsx CHANGED
@@ -363,7 +363,7 @@ var Saves = (props) => {
363
363
  };
364
364
  return <div class="root saves">
365
365
  <div class="saves__column"><button type="button" class="button saves__button" onClick={() => props.setState("screen", "mainmenu")}>{data.t("GoBack")}</button></div>
366
- <Show3 when={saves()} fallback={data.t("NoSaves")}><ol class="saves__column saves__list"><For2 each={saves()}>{(save) => {
366
+ <Show3 when={saves()} fallback={data.t("NoSaves")}><ol class="saves__list"><For2 each={saves()}>{(save) => {
367
367
  const [date, type] = save[2];
368
368
  const stringDate = capitalize(new Date(date).toLocaleDateString(language(), { weekday: "long", year: "numeric", month: "long", day: "numeric", hour: "numeric", minute: "numeric", second: "numeric" }));
369
369
  const stringType = data.t(type === "auto" ? "Automatic" : "Manual");
@@ -200,6 +200,17 @@
200
200
  display: flex;
201
201
  }
202
202
 
203
+ /* src/styles/saves/column/column.css */
204
+ @media (orientation: portrait) {
205
+ .saves__column {
206
+ display: flex;
207
+ align-items: center;
208
+ justify-content: center;
209
+ flex-direction: column;
210
+ flex-wrap: wrap;
211
+ }
212
+ }
213
+
203
214
  /* src/styles/saves/index.css */
204
215
 
205
216
  /* src/styles/button/button.css */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@novely/solid-renderer",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"