Skip to content

Commit

Permalink
Revert "[Bug] [Workspace]Fix workspace detail classname definition (o…
Browse files Browse the repository at this point in the history
…pensearch-project#7986)"

This reverts commit 95929a6.
  • Loading branch information
paulstn committed Sep 4, 2024
1 parent c0ef4fd commit 1d81808
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 0 additions & 2 deletions changelogs/fragments/7986.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
.workspace-detail-direct-query-expanded-table thead {
.customized-table thead {
display: none;
}

.workspace-detail-direct-query-table [id^="row"][id$="expansion"] > td:first-child > div:first-child {
[id^="row"][id$="expansion"] > td:first-child > div:first-child {
padding: 0;
}

.workspace-detail-direct-query-expanded-row:first-child > td {
.customized-row:first-child > td {
border-top: 0;
}

.workspace-detail-direct-query-expanded-row:last-child > td {
.customized-row:last-child > td {
border-bottom: 0;
}

.workspace-detail-direct-query-expanded-row > td:nth-child(2) {
.customized-row > td:nth-child(2) {
padding-left: 25px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ export const DataSourceConnectionTable = ({
items={item?.relatedConnections ?? []}
itemId="id"
columns={baseColumns}
className="workspace-detail-direct-query-expanded-table"
className="customized-table"
rowProps={{
className: 'workspace-detail-direct-query-expanded-row',
className: 'customized-row',
}}
/>
);
Expand Down Expand Up @@ -295,7 +295,6 @@ export const DataSourceConnectionTable = ({
isSelectable={true}
itemIdToExpandedRowMap={itemIdToExpandedRowMap}
isExpandable={true}
className="workspace-detail-direct-query-table"
pagination={{
initialPageSize: 10,
pageSizeOptions: [10, 20, 30],
Expand Down

0 comments on commit 1d81808

Please sign in to comment.