Skip to content

Commit

Permalink
Revert "chore(datagrid): remove unnecessary & block in scss"
Browse files Browse the repository at this point in the history
This reverts commit f87a627.

The reverted change caused me to constrain too many styles in the next
commit (bcce110).
  • Loading branch information
kevinbuhmann committed Dec 12, 2022
1 parent d99e3b3 commit 1d5f915
Showing 1 changed file with 22 additions and 20 deletions.
42 changes: 22 additions & 20 deletions projects/angular/src/data/datagrid/_datagrid.clarity.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1654,35 +1654,37 @@
}

.datagrid-detail-open > .datagrid-outer-wrapper > .datagrid-inner-wrapper {
div.datagrid-table-wrapper {
/**
& {
div.datagrid-table-wrapper {
/**
* So the content with no spaces in the cell doesn't get cut when and the row selected indicator is not hidden
* e.g. Helloworldthisisaveryveryveryveryverylongcontent
*/
display: block;
/**
display: block;
/**
* To get rid of detail-pane overlapping the content inside the rows
*/
overflow: hidden;
}
overflow: hidden;
}

clr-dg-cell {
/**
* Since we use inline width of each column in order to maintain manual resizing,
* we need to use !important to override the inline width.
*/
width: 100% !important;
}
clr-dg-cell {
/**
* Since we use inline width of each column in order to maintain manual resizing,
* we need to use !important to override the inline width.
*/
width: 100% !important;
}

/**
/**
* Needed to prevent hidding the sorting and filtering icons
*/
clr-dg-column:first-child {
/**
* Since we use inline width of each column in order to maintain manual resizing,
* we need to use !important to override the inline width.
*/
width: auto !important;
clr-dg-column:first-child {
/**
* Since we use inline width of each column in order to maintain manual resizing,
* we need to use !important to override the inline width.
*/
width: auto !important;
}
}

.datagrid {
Expand Down

0 comments on commit 1d5f915

Please sign in to comment.