diff --git a/security-admin/src/main/webapp/react-webapp/src/components/XATableLayout.jsx b/security-admin/src/main/webapp/react-webapp/src/components/XATableLayout.jsx
index 155b9f41f16..a941c381621 100644
--- a/security-admin/src/main/webapp/react-webapp/src/components/XATableLayout.jsx
+++ b/security-admin/src/main/webapp/react-webapp/src/components/XATableLayout.jsx
@@ -151,7 +151,12 @@ function XATableLayout({
),
- width: 40
+ width: 40,
+
+ // disableResizing (not hideResizer) is required here: it sets
+ // canResize = false, so useFlexLayout excludes this column from
+ // flex sizing and it stays exactly 40px wide.
+ disableResizing: true
};
if (rowSelectOp && rowSelectOp.position === "first") {
cols.push(selectionCol, ...columns);
@@ -345,23 +350,39 @@ function XATableLayout({
column.toggleSortBy(!column.isSortedDesc)
}
>
- {columnResizable && !column.disableResizing && (
- <>
-
event.stopPropagation()}
- />
-
- >
- )}
+ {/*
+ Show the resize handle on a column only if:
+ - the table has columnResizable turned on, and
+ - the column does not have disableResizing or hideResizer.
+
+ Use disableResizing when the column must keep a fixed
+ width (example: the checkbox column).
+
+ Use hideResizer when you just want to hide the handle on
+ a column, but still let it share the table space like
+ normal. Without this, the one column we want to resize
+ would take all the extra space and dragging would
+ seem to do nothing.
+ */}
+ {columnResizable &&
+ !column.disableResizing &&
+ !column.hideResizer && (
+ <>
+
event.stopPropagation()}
+ />
+
+ >
+ )}
{column.render("Header")}
{columnSort && column.isSorted && (
diff --git a/security-admin/src/main/webapp/react-webapp/src/styles/style.css b/security-admin/src/main/webapp/react-webapp/src/styles/style.css
index e38bf68b9df..813d27691d7 100644
--- a/security-admin/src/main/webapp/react-webapp/src/styles/style.css
+++ b/security-admin/src/main/webapp/react-webapp/src/styles/style.css
@@ -1662,11 +1662,12 @@ header {
.resizeable-icon {
position: absolute;
- bottom: 0;
+ bottom: 3px;
font-size: 10px;
cursor: se-resize;
- right: 0;
+ right: 3px;
transform: rotate(90deg);
+ z-index: 1;
}
.show-more {
diff --git a/security-admin/src/main/webapp/react-webapp/src/views/AuditEvent/Access/AccessLogs.jsx b/security-admin/src/main/webapp/react-webapp/src/views/AuditEvent/Access/AccessLogs.jsx
index 0bf301c8592..209d74c233e 100644
--- a/security-admin/src/main/webapp/react-webapp/src/views/AuditEvent/Access/AccessLogs.jsx
+++ b/security-admin/src/main/webapp/react-webapp/src/views/AuditEvent/Access/AccessLogs.jsx
@@ -407,8 +407,7 @@ function AccessLogs() {
);
},
width: 90,
- disableResizing: true,
- getResizerProps: () => {}
+ hideResizer: true
},
{
Header: "Policy Version",
@@ -421,9 +420,8 @@ function AccessLogs() {
);
},
width: 110,
- disableResizing: true,
- disableSortBy: true,
- getResizerProps: () => {}
+ hideResizer: true,
+ disableSortBy: true
},
{
Header: "Event Time",
@@ -432,8 +430,7 @@ function AccessLogs() {
return dateFormat(rawValue.value, "mm/dd/yyyy h:MM:ss TT");
},
width: 170,
- disableResizing: true,
- getResizerProps: () => {}
+ hideResizer: true
},
{
Header: "Application",
@@ -448,9 +445,8 @@ function AccessLogs() {
} else return "--";
},
width: 100,
- disableResizing: true,
- disableSortBy: true,
- getResizerProps: () => {}
+ hideResizer: true,
+ disableSortBy: true
},
{
Header: "User",
@@ -464,9 +460,7 @@ function AccessLogs() {
);
} else return "--";
},
- width: 120,
- disableResizing: true,
- getResizerProps: () => {}
+ minWidth: 120
},
{
Header: "Service (Name / Type)",
@@ -486,9 +480,8 @@ function AccessLogs() {
),
- disableResizing: true,
- disableSortBy: true,
- getResizerProps: () => {}
+ hideResizer: true,
+ disableSortBy: true
},
{
Header: "Resource (Name / Type)",
@@ -542,8 +535,7 @@ function AccessLogs() {
} else return "--";
},
width: 130,
- disableResizing: true,
- getResizerProps: () => {}
+ hideResizer: true
},
{
Header: "Permission",
@@ -558,8 +550,7 @@ function AccessLogs() {
);
},
width: 100,
- disableResizing: true,
- getResizerProps: () => {}
+ hideResizer: true
},
{
Header: "Result",
@@ -579,9 +570,8 @@ function AccessLogs() {
);
},
width: 100,
- disableResizing: true,
- disableSortBy: true,
- getResizerProps: () => {}
+ hideResizer: true,
+ disableSortBy: true
},
{
Header: "Access Enforcer",
@@ -596,8 +586,7 @@ function AccessLogs() {
} else return "--";
},
width: 120,
- disableResizing: true,
- getResizerProps: () => {}
+ hideResizer: true
},
{
Header: "Agent Host Name",
@@ -612,9 +601,8 @@ function AccessLogs() {
} else return