@@ -39,11 +39,10 @@ function getReplacementTooltip(col: ComparisonGridColumn): string {
3939
4040 <!-- Package columns -->
4141 <div v-for =" col in columns" :key =" col.name" class =" comparison-cell comparison-cell-header" >
42- <span class =" inline-flex items-center gap-1.5 truncate " >
42+ <span class =" inline-flex items-center justify-center gap-1.5 w-full " >
4343 <LinkBase
4444 :to =" packageRoute(col.name, col.version)"
45- class =" text-sm truncate"
46- block
45+ class =" text-sm inline-block truncate"
4746 :title =" col.version ? `${col.name}@${col.version}` : col.name"
4847 >
4948 {{ col.name }}<template v-if =" col .version " >@{{ col.version }}</template >
@@ -105,15 +104,15 @@ function getReplacementTooltip(col: ComparisonGridColumn): string {
105104}
106105
107106.comparison-grid.columns-2 {
108- grid-template-columns : minmax (120px , 180px ) repeat (2 , 1fr );
107+ grid-template-columns : minmax (120px , 180px ) repeat (2 , minmax ( 0 , 1fr ) );
109108}
110109
111110.comparison-grid.columns-3 {
112- grid-template-columns : minmax (120px , 160px ) repeat (3 , 1fr );
111+ grid-template-columns : minmax (120px , 160px ) repeat (3 , minmax ( 0 , 1fr ) );
113112}
114113
115114.comparison-grid.columns-4 {
116- grid-template-columns : minmax (100px , 140px ) repeat (4 , 1fr );
115+ grid-template-columns : minmax (100px , 140px ) repeat (4 , minmax ( 0 , 1fr ) );
117116}
118117
119118.comparison-header {
0 commit comments