@hanology/cham-browser 0.4.20 → 0.4.21
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
|
@@ -414,27 +414,32 @@ onBeforeUnmount(() => {
|
|
|
414
414
|
.ann-card.vertical {
|
|
415
415
|
writing-mode: vertical-rl;
|
|
416
416
|
text-orientation: mixed;
|
|
417
|
-
flex-direction:
|
|
417
|
+
flex-direction: column;
|
|
418
418
|
}
|
|
419
419
|
|
|
420
420
|
.ann-card.vertical .ann-card-head {
|
|
421
421
|
padding: 10px 6px;
|
|
422
|
+
border-bottom: none;
|
|
423
|
+
border-left: 1px solid var(--border-light);
|
|
422
424
|
}
|
|
423
425
|
|
|
424
426
|
.ann-card.vertical .ann-card-scroll {
|
|
425
427
|
display: flex;
|
|
426
|
-
flex-direction:
|
|
427
|
-
padding: 8px
|
|
428
|
-
overflow-
|
|
428
|
+
flex-direction: column;
|
|
429
|
+
padding: 8px 0;
|
|
430
|
+
overflow-x: auto;
|
|
431
|
+
overflow-y: hidden;
|
|
429
432
|
}
|
|
430
433
|
|
|
431
434
|
.ann-card.vertical .ann-entry {
|
|
435
|
+
flex-shrink: 0;
|
|
432
436
|
border-bottom: none;
|
|
433
|
-
padding:
|
|
437
|
+
padding: 0 10px;
|
|
438
|
+
border-right: 1px solid var(--border-light);
|
|
434
439
|
}
|
|
435
440
|
|
|
436
|
-
.ann-card.vertical .ann-entry
|
|
437
|
-
border-
|
|
441
|
+
.ann-card.vertical .ann-entry:first-child {
|
|
442
|
+
border-right: none;
|
|
438
443
|
}
|
|
439
444
|
|
|
440
445
|
.ann-card.vertical .ann-card-close {
|
|
@@ -160,8 +160,8 @@ export function useAnnotationTooltip() {
|
|
|
160
160
|
bottom: '0',
|
|
161
161
|
}
|
|
162
162
|
} else if (layout.value === 'vertical') {
|
|
163
|
-
// Vertical mode:
|
|
164
|
-
const cardW =
|
|
163
|
+
// Vertical mode: wide card with multi-column layout to the left
|
|
164
|
+
const cardW = 260
|
|
165
165
|
const cardH = Math.min(vh - 16, 480)
|
|
166
166
|
const gap = 12
|
|
167
167
|
let left = Math.max(8, rect.left - cardW - gap)
|