Skip to content

Commit

Permalink
styling inside of publishing panel
Browse files Browse the repository at this point in the history
  • Loading branch information
dzonidoo committed Oct 26, 2023
1 parent db520e7 commit f89e057
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"sass-loader": "6.0.6",
"shortid": "2.2.8",
"style-loader": "0.20.2",
"superdesk-ui-framework": "^3.0.60",
"superdesk-ui-framework": "^3.0.62",
"ts-loader": "3.5.0",
"tslint": "5.11.0",
"typescript": "4.9.5",
Expand Down
3 changes: 2 additions & 1 deletion scripts/core/ui/components/select-filterable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class SelectFilterable<T> extends React.PureComponent<IProps<T>> {
inlineLabel
labelHidden
kind="synchronous"
value={[value]}
value={value !== null ? [value] : null}
getOptions={() => items.map((item) => ({value: item}))}
onChange={(val) => {
onChange(val[0] ?? null);
Expand All @@ -37,6 +37,7 @@ export class SelectFilterable<T> extends React.PureComponent<IProps<T>> {
disabled={disabled}
zIndex={zIndex}
data-test-id={this.props['data-test-id']}
inputWidth="100%"
/>
);
}
Expand Down

0 comments on commit f89e057

Please sign in to comment.