Skip to content

Commit 8407f52

Browse files
authored
Better columns width for table view (#1691)
1 parent b44dcaa commit 8407f52

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
@@ -329,20 +329,20 @@ export function TrackersTable({
329329

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

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

348348
return cols.join(' ');

0 commit comments

Comments
 (0)