@phosart/common 0.4.58 → 0.4.59

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.
@@ -138,6 +138,7 @@
138
138
  <!-- svelte-ignore a11y_no_static_element_interactions -->
139
139
  <div
140
140
  class="main-container overscroll-contain"
141
+ class:comic-mode={isComic}
141
142
  ondragstartcapture={(e) => e.preventDefault()}
142
143
  onpointerdown={onPointerDown}
143
144
  onpointerup={onPointerUp}
@@ -290,7 +291,7 @@
290
291
  .nav-container.nav-container {
291
292
  width: 0;
292
293
  }
293
- .main-container.main-container {
294
+ .main-container.main-container.comic-mode {
294
295
  max-width: 90vw;
295
296
  }
296
297
  }
@@ -326,6 +327,10 @@
326
327
  color: white;
327
328
  }
328
329
 
330
+ .main-container.comic-mode {
331
+ max-width: 50vw;
332
+ }
333
+
329
334
  .main-container {
330
335
  flex-grow: 1;
331
336
  height: 100%;
@@ -334,7 +339,6 @@
334
339
  justify-content: center;
335
340
  align-items: center;
336
341
  overflow: hidden;
337
- max-width: 80vw;
338
342
  }
339
343
 
340
344
  .bounding-div {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phosart/common",
3
- "version": "0.4.58",
3
+ "version": "0.4.59",
4
4
  "files": [
5
5
  "dist",
6
6
  "!dist/**/*.test.*",
@@ -138,6 +138,7 @@
138
138
  <!-- svelte-ignore a11y_no_static_element_interactions -->
139
139
  <div
140
140
  class="main-container overscroll-contain"
141
+ class:comic-mode={isComic}
141
142
  ondragstartcapture={(e) => e.preventDefault()}
142
143
  onpointerdown={onPointerDown}
143
144
  onpointerup={onPointerUp}
@@ -290,7 +291,7 @@
290
291
  .nav-container.nav-container {
291
292
  width: 0;
292
293
  }
293
- .main-container.main-container {
294
+ .main-container.main-container.comic-mode {
294
295
  max-width: 90vw;
295
296
  }
296
297
  }
@@ -326,6 +327,10 @@
326
327
  color: white;
327
328
  }
328
329
 
330
+ .main-container.comic-mode {
331
+ max-width: 50vw;
332
+ }
333
+
329
334
  .main-container {
330
335
  flex-grow: 1;
331
336
  height: 100%;
@@ -334,7 +339,6 @@
334
339
  justify-content: center;
335
340
  align-items: center;
336
341
  overflow: hidden;
337
- max-width: 80vw;
338
342
  }
339
343
 
340
344
  .bounding-div {