Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
r100-stack committed Nov 18, 2024
1 parent f24250e commit 72c9690
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/itwinui-css/src/all.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
@include meta.load-css('menu/menu');
@include meta.load-css('non-ideal-state/non-ideal-state');
@include meta.load-css('overlay/overlay');
@include meta.load-css('panels/panels');
@include meta.load-css('progress-indicator/progress-indicator');
@include meta.load-css('radio/radio');
@include meta.load-css('radio-tile/radio-tile');
Expand All @@ -43,6 +42,7 @@
@include meta.load-css('status-message/status-message');
@include meta.load-css('stepper/stepper');
@include meta.load-css('surface/surface');
@include meta.load-css('panels/panels');
@include meta.load-css('table/table');
@include meta.load-css('tabs/tabs');
@include meta.load-css('tag/tag');
Expand Down
3 changes: 1 addition & 2 deletions packages/itwinui-css/src/panels/panels.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
scroll-snap-type: x proximity;
}

// Intentional selector to increase specificity
.iui-panel-wrapper.iui-panel-wrapper {
.iui-panel-wrapper {
display: flex;
flex-direction: row;
}
Expand Down
3 changes: 3 additions & 0 deletions packages/itwinui-react/src/core/Panels/Panels.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ import type { FocusEntry, PanelsInstance, TriggerMapEntry } from './helpers.js';
// #region PanelsWrapper

type PanelsWrapperProps = {
/**
* Function that gets called when the active panel is changed.
*/
onActiveIdChange?: (newActiveId: string) => void;
children: React.ReactNode;
/**
Expand Down

0 comments on commit 72c9690

Please sign in to comment.