github-overview 0.2.0 → 0.2.1

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": "github-overview",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Private dashboard for your own GitHub repos: traffic, clones, npm downloads and an AI summary in one view.",
5
5
  "type": "module",
6
6
  "bin": {
package/public/index.html CHANGED
@@ -145,8 +145,8 @@
145
145
  .cmp .ver { font-size: 12px; color: var(--label-secondary); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
146
146
  .cmp .v { text-align: right; font-variant-numeric: tabular-nums; }
147
147
  .cmp .d { text-align: right; font-size: 12px; color: var(--label-secondary); font-variant-numeric: tabular-nums; }
148
- .repo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
149
- .repo-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
148
+ .repo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 28px; }
149
+ .repo-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; min-width: 0; }
150
150
  .repo-grid li.muted { grid-template-columns: 1fr; font-size: 13px; }
151
151
  .cmp li.muted { grid-template-columns: 1fr; font-size: 13px; }
152
152
  @media (max-width: 560px) {
@@ -156,7 +156,8 @@
156
156
  .cmp .ver { grid-column: 1; grid-row: 2; }
157
157
  .cmp .v { grid-column: 2; grid-row: 2; }
158
158
  }
159
- .repo-grid li { display: grid; grid-template-columns: 168px 1fr 56px; align-items: center; gap: 10px; font-size: 16px; cursor: pointer; }
159
+ /* 名字列给上限而不是固定宽,窗口窄下来整行才收得住,不会顶出容器 */
160
+ .repo-grid li { display: grid; grid-template-columns: minmax(0, 168px) minmax(0, 1fr) 56px; align-items: center; gap: 10px; font-size: 16px; cursor: pointer; }
160
161
  .repo-grid li:hover .k { color: var(--label-primary); }
161
162
  .repo-grid .k { color: var(--label-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
162
163
  .repo-grid .track { height: 6px; border-radius: 2px; background: var(--bg-layer-2); overflow: hidden; }