Skip to content

Commit 7020b8b

Browse files
committed
css: limit handle/thing tooltip width, overflow ellipsis
1 parent 0495e21 commit 7020b8b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/static/css/site.css

+12
Original file line numberDiff line numberDiff line change
@@ -984,9 +984,21 @@ li:not(:first-child:last-child) .tooltip,
984984
grid-column-start: handle-start;
985985
grid-column-end: handle-end;
986986

987+
width: max-content;
988+
max-width: 200px;
989+
990+
overflow: hidden;
991+
white-space: nowrap;
992+
text-overflow: ellipsis;
993+
}
994+
995+
.contribution-tooltip .external-handle {
987996
padding-right: 8px;
988997
}
989998

999+
.contribution-tooltip .chronology-text {
1000+
padding-right: 6px;
1001+
}
9901002

9911003
.contribution-tooltip .chronology-text,
9921004
.contribution-tooltip .chronology-info {

0 commit comments

Comments
 (0)