diff --git a/pkg/ui/workspaces/cluster-ui/src/sortedtable/sortedtable.module.scss b/pkg/ui/workspaces/cluster-ui/src/sortedtable/sortedtable.module.scss
index 6b47ad81d292..4d0f5c827ae5 100644
--- a/pkg/ui/workspaces/cluster-ui/src/sortedtable/sortedtable.module.scss
+++ b/pkg/ui/workspaces/cluster-ui/src/sortedtable/sortedtable.module.scss
@@ -102,7 +102,7 @@
}
.cl-table-container {
- padding: 18px 24px 18px 0px;
+ padding: 20px 24px 18px 0px;
}
.cl-table-wrapper {
padding: 9.55px 20px 17px;
diff --git a/pkg/ui/workspaces/cluster-ui/src/statementDetails/statementDetails.tsx b/pkg/ui/workspaces/cluster-ui/src/statementDetails/statementDetails.tsx
index 6456f73610ac..dae19973f066 100644
--- a/pkg/ui/workspaces/cluster-ui/src/statementDetails/statementDetails.tsx
+++ b/pkg/ui/workspaces/cluster-ui/src/statementDetails/statementDetails.tsx
@@ -603,6 +603,7 @@ export class StatementDetails extends React.Component<
available until the statement is sampled.
);
+ const noSamples = statementSampled ? "" : " (no samples)";
const db = databases ? (
{databases}
@@ -781,7 +782,7 @@ export class StatementDetails extends React.Component<