Skip to content

Commit

Permalink
Merge branch 'master' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
SLOBS-Release committed Jan 15, 2025
2 parents dcc058f + ec68c6b commit 9f031dc
Show file tree
Hide file tree
Showing 21 changed files with 663 additions and 185 deletions.
4 changes: 1 addition & 3 deletions app/components-react/widgets/common/useWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -451,9 +451,7 @@ export class WidgetModule<TWidgetState extends IWidgetState = IWidgetState> {
}

private setStaticConfig(resp: unknown) {
this.state.mutate(state => {
state.staticConfig = resp;
});
this.state.setStaticConfig(resp);
}
}

Expand Down
39 changes: 39 additions & 0 deletions app/components-react/windows/source-showcase/SourceGrid.m.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
.source-grid {
:global(.ant-collapse-content-box) {
padding-left: 0;
padding-right: 0;
}

:global(.collapse-section) {
display: flex;
flex: 1;
flex-wrap: wrap;

}

:global(.collapse-section .ant-col-8) {
margin-bottom: 8px;
}

:global(.ant-collapse-header) {
padding-left: 0 !important;
padding-right: 0 !important;
font-size: 20px;


.ant-collapse-arrow {
font-size: 16px !important;
}
}

// Override disabled styles from antd, we use this for the essential section
:global(.ant-collapse-item-disabled .ant-collapse-header) {
cursor: default !important;
color: var(--title) !important;
}

:global(.ant-collapse-content-box) {
padding-left: 0 !important;
padding-right: 0 !important;
}
}
Loading

0 comments on commit 9f031dc

Please sign in to comment.