@commentray/render 0.3.4 → 0.3.6

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.
@@ -1575,6 +1575,18 @@ body {
1575
1575
  .nav-rail__doc-hub-summary__glyph {
1576
1576
  display: inline-flex;
1577
1577
  }
1578
+ .documented-files-tree .tree-file {
1579
+ font-size: 12px;
1580
+ line-height: 1.4;
1581
+ }
1582
+ .documented-files-tree .tree-file-link {
1583
+ display: inline-block;
1584
+ min-height: 0;
1585
+ padding: 3px 5px;
1586
+ margin: 0;
1587
+ border-radius: 0;
1588
+ touch-action: manipulation;
1589
+ }
1578
1590
  .toolbar-wrap-lines {
1579
1591
  min-width: var(--cr-control-h);
1580
1592
  padding: 0;
@@ -1690,18 +1702,43 @@ body {
1690
1702
  padding-left: var(--cr-pane-inline-pad);
1691
1703
  }
1692
1704
  .shell.shell--stretch-rows[data-dual-mobile-pane="code"] .stretch-col-doc,
1693
- .shell.shell--stretch-rows[data-dual-mobile-pane="doc"] .stretch-col-code,
1694
- .shell.shell--stretch-rows[data-dual-mobile-pane="code"] td.stretch-doc,
1695
- .shell.shell--stretch-rows[data-dual-mobile-pane="doc"] td.stretch-code {
1705
+ .shell.shell--stretch-rows[data-dual-mobile-pane="doc"] .stretch-col-code {
1696
1706
  display: none;
1697
1707
  }
1698
- .shell.shell--stretch-rows[data-dual-mobile-pane="code"] td.stretch-code,
1699
- .shell.shell--stretch-rows[data-dual-mobile-pane="doc"] td.stretch-doc {
1700
- display: table-cell;
1708
+ .shell.shell--stretch-rows[data-dual-mobile-pane] .block-stretch tbody tr.stretch-row {
1709
+ display: grid;
1710
+ grid-template-columns: minmax(0, 1fr);
1711
+ }
1712
+ .shell.shell--stretch-rows[data-dual-mobile-pane]
1713
+ .block-stretch
1714
+ tbody
1715
+ tr.stretch-row
1716
+ > td.stretch-code,
1717
+ .shell.shell--stretch-rows[data-dual-mobile-pane]
1718
+ .block-stretch
1719
+ tbody
1720
+ tr.stretch-row
1721
+ > td.stretch-doc {
1722
+ display: block;
1723
+ grid-column: 1;
1724
+ grid-row: 1;
1701
1725
  width: 100%;
1702
1726
  padding-left: 0;
1703
1727
  padding-right: 0;
1704
1728
  }
1729
+ .shell.shell--stretch-rows[data-dual-mobile-pane="code"] td.stretch-doc,
1730
+ .shell.shell--stretch-rows[data-dual-mobile-pane="doc"] td.stretch-code {
1731
+ visibility: hidden;
1732
+ pointer-events: none;
1733
+ z-index: 1;
1734
+ }
1735
+ .shell.shell--stretch-rows[data-dual-mobile-pane="code"] td.stretch-code,
1736
+ .shell.shell--stretch-rows[data-dual-mobile-pane="doc"] td.stretch-doc {
1737
+ visibility: visible;
1738
+ pointer-events: auto;
1739
+ position: relative;
1740
+ z-index: 2;
1741
+ }
1705
1742
  .shell.shell--stretch-rows[data-dual-mobile-pane] #stretch-gutter {
1706
1743
  display: none;
1707
1744
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commentray/render",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -29,7 +29,7 @@
29
29
  "clean": "rm -rf dist"
30
30
  },
31
31
  "dependencies": {
32
- "@commentray/core": "0.3.4",
32
+ "@commentray/core": "0.3.6",
33
33
  "@m31coding/fuzzy-search": "^2.0.0",
34
34
  "rehype-highlight": "^7.0.2",
35
35
  "rehype-raw": "^7.0.0",