From ff6b1a6208d972bad1d3503f72465264ab8fe75d Mon Sep 17 00:00:00 2001 From: Stefano Ricci <1219739+SteRiccio@users.noreply.github.com> Date: Wed, 13 Nov 2024 17:45:45 +0100 Subject: [PATCH] records list: added margin to the right of files column (#3648) * records list: added margin to the right of files column * use latest arena-core --------- Co-authored-by: Stefano Ricci Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- package.json | 2 +- webapp/style/table.scss | 2 ++ webapp/views/App/views/Data/Records/Records.scss | 1 + yarn.lock | 8 ++++---- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index f252c37dbe..347ac9d10b 100644 --- a/package.json +++ b/package.json @@ -108,7 +108,7 @@ "@mui/x-data-grid": "^7.14.0", "@mui/x-date-pickers": "^7.14.0", "@mui/x-tree-view": "^7.7.1", - "@openforis/arena-core": "^0.0.209", + "@openforis/arena-core": "^1.0.1", "@openforis/arena-server": "^0.1.36", "@reduxjs/toolkit": "^2.2.5", "@sendgrid/mail": "^8.1.3", diff --git a/webapp/style/table.scss b/webapp/style/table.scss index 318a48e36e..bf775e5890 100644 --- a/webapp/style/table.scss +++ b/webapp/style/table.scss @@ -37,6 +37,7 @@ $tableFooterHeight: 30px; .table__rows { position: absolute; overflow-y: auto; + scrollbar-gutter: stable; height: calc(100% - 50px); right: 10px; left: 10px; @@ -109,6 +110,7 @@ $tableFooterHeight: 30px; color: white; font-weight: 600; overflow: hidden; + padding-right: 16px; } .table__row-expanded-panel-wrapper { diff --git a/webapp/views/App/views/Data/Records/Records.scss b/webapp/views/App/views/Data/Records/Records.scss index 067246ea2b..a36ddf9dd4 100644 --- a/webapp/views/App/views/Data/Records/Records.scss +++ b/webapp/views/App/views/Data/Records/Records.scss @@ -21,6 +21,7 @@ align-items: center; justify-content: flex-end; gap: 0.2rem; + padding-right: 0.6rem; } .record-owner-col { width: fit-content; diff --git a/yarn.lock b/yarn.lock index 952ec1ba4e..9105a684e1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2777,10 +2777,10 @@ proj4 "^2.11.0" uuid "^10.0.0" -"@openforis/arena-core@^0.0.209": - version "0.0.209" - resolved "https://npm.pkg.github.com/download/@openforis/arena-core/0.0.209/1d0c8e3bd80e689ec3bac005843d6b55c213aaad#1d0c8e3bd80e689ec3bac005843d6b55c213aaad" - integrity sha512-cF0fCHNmqn/DvWXWRYJBrdyd5Tnw8wZ6UbCxmBWFFH1uVy7gQ5kke5BCDv8fnL/VhRGuuIr6QuDTs0zpKq7OKA== +"@openforis/arena-core@^1.0.1": + version "1.0.1" + resolved "https://npm.pkg.github.com/download/@openforis/arena-core/1.0.1/06b493d0832c6ef31482cfd39bf35b191c5e361c#06b493d0832c6ef31482cfd39bf35b191c5e361c" + integrity sha512-qtJahu2theB1TFpIPhg3DmGwPGUTDJYxHij/tmHnPh8Mr3oqK9PrlyZ1hSoVlJ4Y6gMcTGaF2fsT8zLwGOCv1A== dependencies: "@jsep-plugin/regex" "^1.0.3" bignumber.js "^9.1.2"