Skip to content

Commit 7441386

Browse files
committed
Better columns width for table view
1 parent 2d79c5a commit 7441386

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

gui/src/components/tracker/TrackersTable.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -327,20 +327,20 @@ export function TrackersTable({
327327

328328
const gridTemplateColumns = useMemo(() => {
329329
const cols = [
330-
'minmax(150px, 1.5fr)', // Name
331-
'minmax(100px, 1fr)', // Type
332-
'minmax(60px, 1fr)', // Battery
333-
'6rem', // Ping (w-24)
334-
'minmax(60px, 1fr)', // TPS
335-
config?.devSettings?.preciseRotation ? '11rem' : '8rem', // Rotation
336-
'minmax(60px, 1fr)', // Temp
330+
'minmax(15rem, 1.5fr)', // Name
331+
'9rem', // Type
332+
'9rem', // Battery
333+
'9rem', // Ping (w-24)
334+
'5rem', // TPS
335+
config?.devSettings?.preciseRotation ? '11rem' : '9rem', // Rotation
336+
'9rem', // Temp
337337
];
338338

339339
if (moreInfo) {
340340
cols.push('9rem'); // Linear Acc
341341
cols.push('9rem'); // Position
342342
cols.push('9rem'); // Stay Aligned
343-
cols.push('minmax(150px, 1fr)'); // URL
343+
cols.push('11rem'); // URL
344344
}
345345

346346
return cols.join(' ');

0 commit comments

Comments
 (0)