codexmate 0.1.7 → 0.1.8

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.
@@ -186,6 +186,24 @@ textarea:focus-visible {
186
186
 
187
187
  .mode-cards > .segmented-control {
188
188
  flex-direction: row;
189
+ flex-wrap: nowrap;
190
+ max-width: 100%;
191
+ overflow-x: auto;
192
+ overflow-y: hidden;
193
+ scrollbar-width: none;
194
+ -webkit-overflow-scrolling: touch;
195
+ scroll-snap-type: x proximity;
196
+ }
197
+
198
+ .mode-cards > .segmented-control::-webkit-scrollbar {
199
+ display: none;
200
+ }
201
+
202
+ .mode-cards > .segmented-control > .segment {
203
+ flex: 0 0 auto;
204
+ min-width: 0;
205
+ white-space: nowrap;
206
+ scroll-snap-align: start;
189
207
  }
190
208
 
191
209
  .prompts-editor-toolbar {
@@ -342,12 +342,26 @@
342
342
 
343
343
  .usage-wave-labels {
344
344
  display: flex;
345
- justify-content: space-between;
345
+ flex-wrap: nowrap;
346
+ justify-content: flex-start;
346
347
  margin-top: 12px;
347
348
  padding: 0 8px;
349
+ overflow-x: auto;
350
+ overflow-y: hidden;
351
+ scrollbar-width: none;
352
+ -webkit-overflow-scrolling: touch;
353
+ scroll-snap-type: x proximity;
354
+ }
355
+
356
+ .usage-wave-labels::-webkit-scrollbar {
357
+ display: none;
348
358
  }
349
359
 
350
360
  .usage-wave-label {
361
+ flex: 0 0 auto;
362
+ min-width: 0;
363
+ white-space: nowrap;
364
+ scroll-snap-align: start;
351
365
  font-size: 11px;
352
366
  color: var(--color-text-muted);
353
367
  cursor: pointer;
@@ -372,6 +386,11 @@
372
386
  color: var(--color-brand);
373
387
  font-weight: 600;
374
388
  background: linear-gradient(135deg, rgba(200, 121, 99, 0.12), rgba(200, 121, 99, 0.06));
389
+ scroll-snap-align: center;
390
+ }
391
+
392
+ .usage-wave-label:last-child {
393
+ scroll-snap-align: end;
375
394
  }
376
395
 
377
396
  /* ---- 日期详情 ---- */
@@ -0,0 +1,23 @@
1
+ .sys-prompt-controls {
2
+ display: flex;
3
+ gap: 16px;
4
+ flex-wrap: wrap;
5
+ margin-bottom: 12px;
6
+ }
7
+
8
+ .sys-prompt-control-group {
9
+ display: flex;
10
+ flex-direction: column;
11
+ gap: 4px;
12
+ }
13
+
14
+ .sys-prompt-control-group .form-label {
15
+ font-size: 0.8em;
16
+ opacity: 0.8;
17
+ }
18
+
19
+ .sys-prompt-select {
20
+ min-width: 180px;
21
+ }
22
+
23
+
package/web-ui/styles.css CHANGED
@@ -22,3 +22,4 @@
22
22
  @import url('./styles/responsive.css');
23
23
  @import url('./styles/webhook.css');
24
24
  @import url('./styles/trash-panel.css');
25
+ @import url('./styles/system-prompt.css');