[pbs-devel] [PATCH v2 proxmox-backup 8/8] gc: configure width and flex on GC Jobs columns
Gabriel Goller
g.goller at proxmox.com
Wed Feb 7 10:30:44 CET 2024
On Tue Feb 6, 2024 at 3:51 PM CET, Stefan Lendl wrote:
> table expands to the full width and relevant data is still visible on a
> narrow screen.
>
> Signed-off-by: Stefan Lendl <s.lendl at proxmox.com>
> ---
> www/config/GCView.js | 30 +++++++++++++++++++-----------
> 1 file changed, 19 insertions(+), 11 deletions(-)
>
> diff --git a/www/config/GCView.js b/www/config/GCView.js
> index d1f1bf71..796057ff 100644
> --- a/www/config/GCView.js
> +++ b/www/config/GCView.js
> @@ -159,63 +159,71 @@ Ext.define('PBS.config.GCJobView', {
> header: gettext('Datastore'),
> dataIndex: 'store',
> renderer: Ext.String.htmlEncode,
> - width: 120,
> sortable: true,
> hideable: false,
> + width: 150,
> + minWidth: 120,
> + maxWidth: 300,
> + flex: 2,
Indentation here (and on the other additions in the same file) looks off...
Check the internal wiki for our styleguide :)
More information about the pbs-devel
mailing list