Skip to content

Commit 5e44186

Browse files
committed
Improvement - Legend - Fix wrapping legends in print mode
1 parent 50a6812 commit 5e44186

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/atoms/Legend.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ function handleClick(legend, i) {
7676
gap: 6px;
7777
height: fit-content;
7878
text-align: left;
79+
white-space: nowrap;
80+
overflow: hidden;
81+
text-overflow: ellipsis;
7982
}
8083
.active {
8184
cursor: pointer;

0 commit comments

Comments
 (0)