Skip to content

Commit

Permalink
BaseTableRowItem: Use column-content as CSS class
Browse files Browse the repository at this point in the history
`content` collides with a container's content and
confuses Icinga Web's JS (<2.12.2) which applies
`impact` to it, but doesn't remove it sometimes.
  • Loading branch information
nilmerg committed Jul 19, 2024
1 parent 47560f9 commit 6dd2276
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion asset/css/list/item-table.less
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ ul.item-table {
margin-bottom: -.5em;
}

.content {
.column-content {
flex: 1 1 auto;
width: 0;

Expand Down
2 changes: 1 addition & 1 deletion src/Common/BaseTableRowItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ protected function createColumn($content = null): BaseHtmlElement
Attributes::create(['class' => 'col']),
new HtmlElement(
'div',
Attributes::create(['class' => 'content']),
Attributes::create(['class' => 'column-content']),
...Html::wantHtmlList($content)
)
);
Expand Down

0 comments on commit 6dd2276

Please sign in to comment.