Skip to content

Commit 44629bf

Browse files
committed
Reduce the max item width in the datagrid component
fixes #426
1 parent 6576208 commit 44629bf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## 0.24.1
44

5+
- Reduce the max item width in the datagrid component for a better and more compact display on small screens. This makes the datagrid component more mobile-friendly. If you have a datagrid with long text items, this may impact the layout of your page. You can override this behavior by manually changing the `--tblr-datagrid-item-width` CSS variable in your custom CSS.
56
- Apply migrations before initializing the on-database file system. This allows migrations to create files in the database file system.
67
- Added a [new example](https://github.com/lovasoa/SQLpage/tree/main/examples/CRUD%20-%20Authentication) to the documentation
78
- Bug fix: points with a latitude of 0 are now displayed correctly on the map component.

sqlpage/sqlpage.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ td > p {
4949

5050
.datagrid {
5151
--tblr-datagrid-padding: 1.25rem;
52-
--tblr-datagrid-item-width: 12rem;
52+
--tblr-datagrid-item-width: 6rem;
5353
}

0 commit comments

Comments
 (0)