From bba1d6c725be7254d565c6b6135cb5f35e13f2b5 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bellet Date: Fri, 6 Jan 2023 10:46:01 +0100 Subject: [PATCH] Do not specify sizes, let the browser fix the best layout for table --- app/views/admin/order_cycles/_header.html.haml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/admin/order_cycles/_header.html.haml b/app/views/admin/order_cycles/_header.html.haml index c77bb3d888..b867609e3c 100644 --- a/app/views/admin/order_cycles/_header.html.haml +++ b/app/views/admin/order_cycles/_header.html.haml @@ -1,16 +1,16 @@ %colgroup %col{ ng: { show: 'columns.name.visible' } } %col{ ng: { show: 'columns.schedules.visible' } } - %col{ ng: { show: 'columns.open.visible' }, style: 'width: 20%;' } - %col{ ng: { show: 'columns.close.visible' }, style: 'width: 20%;' } + %col{ ng: { show: 'columns.open.visible' } } + %col{ ng: { show: 'columns.close.visible' } } - unless simple_index %col{ ng: { show: 'columns.producers.visible' } } %col{ ng: { show: 'columns.coordinator.visible' } } %col{ ng: { show: 'columns.shops.visible' } } %col{ ng: { show: 'columns.products.visible' } } - %col{ style: 'width: 5%;' } - %col{ style: 'width: 5%;' } - %col{ style: 'width: 5%;' } + %col + %col + %col %thead %tr