added mobile view for eshop

This commit is contained in:
2024-10-29 16:29:45 +01:00
parent 4c2be92509
commit a874099126
2 changed files with 4 additions and 3 deletions

View File

@@ -10,11 +10,11 @@ class WarehouseEShopController extends TTCrud {
protected bool $createText = false;
protected array $columns = [
['key' => 'title', 'text' => 'Artikel'],
['key' => 'title', 'text' => 'Artikel', 'priority' => 11],
['key' => 'category', 'text' => 'Kategorie', 'table' => false],
['key' => 'price', 'text' => 'Preis', 'table' => ['filter' => false,'sortable' => false,'class' => 'text-right']],
['key' => 'amount', 'text' => 'Menge', 'table' => ['filter' => false,'sortable' => false,'class' => 'p-0 width-80']],
['key' => 'add', 'text' => 'Hinzufügen', 'table' => ['filter' => false,'sortable' => false, 'class' => 'width-120 text-center']]
['key' => 'amount', 'text' => 'Menge', 'table' => ['filter' => false,'sortable' => false,'class' => 'p-0 width-80'], 'priority' => 9],
['key' => 'add', 'text' => 'Hinzufügen', 'table' => ['filter' => false,'sortable' => false, 'class' => 'width-120 text-center'], 'priority' => 5000]
];
protected array $infoMessages = [

View File

@@ -260,6 +260,7 @@ td {
.expanded {
width: 500px; /* Expanded width */
max-width: 85vw;
height: 600px; /* Expanded height */
z-index: 1000;
}