@conduction/docusaurus-preset 3.11.1 → 3.12.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conduction/docusaurus-preset",
3
- "version": "3.11.1",
3
+ "version": "3.12.0",
4
4
  "scripts": {
5
5
  "prepack": "node scripts/prepack-bundle-css.js"
6
6
  },
@@ -29,7 +29,9 @@
29
29
  .row { grid-template-columns: 1fr; }
30
30
  }
31
31
 
32
- /* App card, mirrors .app-card from preview/components/apps-grid.css */
32
+ /* App card, mirrors .app-card from preview/components/apps-grid.css.
33
+ Two-column grid: icon hex on the left, name + tagline on the right,
34
+ meta row spans the full width at the bottom. */
33
35
  .card {
34
36
  background: white;
35
37
  border: 1px solid var(--c-cobalt-100);
@@ -38,9 +40,12 @@
38
40
  text-decoration: none;
39
41
  color: inherit;
40
42
  transition: all 160ms ease;
41
- display: flex;
42
- flex-direction: column;
43
- gap: 16px;
43
+ display: grid;
44
+ grid-template-columns: auto 1fr;
45
+ column-gap: 20px;
46
+ row-gap: 6px;
47
+ align-items: start;
48
+ align-content: start;
44
49
  }
45
50
  .card:hover {
46
51
  border-color: var(--c-blue-cobalt);
@@ -60,6 +65,9 @@
60
65
  align-items: center;
61
66
  justify-content: center;
62
67
  flex-shrink: 0;
68
+ grid-column: 1;
69
+ grid-row: 1 / span 2;
70
+ align-self: start;
63
71
  }
64
72
  .iconWrap svg {
65
73
  width: 26px;
@@ -74,12 +82,14 @@
74
82
  font-weight: 700;
75
83
  letter-spacing: -0.01em;
76
84
  color: var(--c-cobalt-900);
85
+ grid-column: 2;
77
86
  }
78
87
 
79
88
  .tagline {
80
89
  font-size: 15px;
81
90
  color: var(--c-cobalt-700);
82
91
  line-height: 1.5;
92
+ grid-column: 2;
83
93
  }
84
94
  .tagline :global(.next-blue) { color: var(--c-nextcloud-blue); }
85
95
 
@@ -90,6 +100,7 @@
90
100
  margin-top: auto;
91
101
  padding-top: 20px;
92
102
  border-top: 1px solid var(--c-cobalt-100);
103
+ grid-column: 1 / -1;
93
104
  }
94
105
 
95
106
  .badge {