@skirbi/pinta 0.0.9 → 0.0.10

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/Changes CHANGED
@@ -1,5 +1,9 @@
1
1
  Revision history for @skirbi/pinta
2
2
 
3
+ 0.0.10 2026-04-16 21:18:30Z
4
+
5
+ * Ok, it broke on mobile, but now it doesn't
6
+
3
7
  0.0.9 2026-04-16 19:24:19Z
4
8
 
5
9
  * I think this is an actual working product now. World, meet Pinta, Pinta,
package/lib/index.mjs CHANGED
@@ -3,4 +3,4 @@
3
3
  //
4
4
  // SPDX-License-Identifier: MIT
5
5
 
6
- const VERSION = "0.0.9";
6
+ const VERSION = "0.0.10";
@@ -718,10 +718,56 @@
718
718
  /* ----------------------------------------------------------------
719
719
  * semtic-terminal
720
720
  * ---------------------------------------------------------------- */
721
+ /* article/mobile container must be allowed to shrink */
721
722
  [semtic-theme] semtic-terminal {
722
723
  display: block;
723
724
  }
724
725
 
726
+ [semtic-theme] semtic-grid[article] > * {
727
+ min-width: 0;
728
+ }
729
+
730
+ [semtic-theme] semtic-article {
731
+ display: block;
732
+ min-width: 0;
733
+ max-width: 100%;
734
+ }
735
+
736
+ [semtic-theme] semtic-article > article,
737
+ [semtic-theme] semtic-article [semtic-body] {
738
+ min-width: 0;
739
+ max-width: 100%;
740
+ }
741
+
742
+ [semtic-theme] semtic-terminal > article {
743
+ min-width: 0;
744
+ max-width: 100%;
745
+ overflow: hidden;
746
+ }
747
+
748
+ [semtic-theme] semtic-terminal > article > header {
749
+ min-width: 0;
750
+ flex-wrap: wrap;
751
+ }
752
+
753
+ [semtic-theme] semtic-terminal [semtic-terminal-title] {
754
+ min-width: 0;
755
+ overflow: hidden;
756
+ text-overflow: ellipsis;
757
+ white-space: nowrap;
758
+ }
759
+
760
+ [semtic-theme] semtic-terminal pre,
761
+ [semtic-theme] semtic-terminal [semtic-terminal-code] {
762
+ min-width: 0;
763
+ max-width: 100%;
764
+ overflow-x: auto;
765
+ -webkit-overflow-scrolling: touch;
766
+ }
767
+
768
+ [semtic-theme] semtic-terminal code {
769
+ white-space: pre;
770
+ }
725
771
  [semtic-theme] semtic-terminal > article {
726
772
  background: var(--semtic-surface-bg);
727
773
  border: 1px solid var(--semtic-surface-border);
@@ -748,7 +794,6 @@
748
794
 
749
795
  [semtic-theme] semtic-terminal [semtic-terminal-title] {
750
796
  flex: 1;
751
- font-size: 0.875rem;
752
797
  color: var(--semtic-text-muted);
753
798
  }
754
799
 
package/package.json CHANGED
@@ -30,5 +30,5 @@
30
30
  },
31
31
  "sideEffects": false,
32
32
  "type": "module",
33
- "version": "0.0.9"
33
+ "version": "0.0.10"
34
34
  }