Skip to content

Build your personal knowledge base with Trilium Notes

style(client): strip the GPX stat cards down to the numbers they held

Elian Doran6153d3647fe5
diff --git a/apps/client/src/widgets/type_widgets/file/GpxPreview.css b/apps/client/src/widgets/type_widgets/file/GpxPreview.css
index f8e99f2a3c..25d04cc47f 100644
--- a/apps/client/src/widgets/type_widgets/file/GpxPreview.css
+++ b/apps/client/src/widgets/type_widgets/file/GpxPreview.css
@@ -21,19 +21,16 @@
content: " · ";
}
+ /* Boxless, but still a grid: the card backgrounds were furniture — nothing in them is
+ clickable — yet content-sized columns wrapped ragged in a narrow pane, so the stats keep
+ the grid's aligned columns and shed only the chrome. */
.gpx-preview-stats {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
- gap: 10px;
+ gap: 14px 16px;
margin-bottom: 20px;
}
- .gpx-stat {
- padding: 10px 12px;
- border-radius: 8px;
- background: var(--accented-background-color);
- }
-
.gpx-stat-value {
font-size: 1.3em;
font-weight: 600;