Skip to content

Commit

Permalink
fix vision data explorer elements truncated in smaller screen
Browse files Browse the repository at this point in the history
  • Loading branch information
imatiach-msft committed Jan 2, 2024
1 parent be00e9a commit a761762
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
IProcessedStyleSet,
getTheme
} from "@fluentui/react";
import { flexMdDown } from "@responsible-ai/core-ui";
export interface IVisionExplanationDashboardStyles {
cohortDropdown: IStyle;
cohortPickerLabel: IStyle;
Expand All @@ -17,6 +18,7 @@ export interface IVisionExplanationDashboardStyles {
toolBarContainer: IStyle;
itemsSelectedContainer: IStyle;
legendIndicator: IStyle;
lowerToolbarContainer: IStyle;
mainContainer: IStyle;
mainImageContainer: IStyle;
halfContainer: IStyle;
Expand Down Expand Up @@ -67,6 +69,7 @@ export const visionExplanationDashboardStyles: () => IProcessedStyleSet<IVisionE
paddingRight: 20,
paddingTop: 2
},
lowerToolbarContainer: flexMdDown,
mainContainer: {
alignItems: "center",
justifyContent: "space-between",
Expand Down Expand Up @@ -103,6 +106,7 @@ export const visionExplanationDashboardStyles: () => IProcessedStyleSet<IVisionE
position: "relative"
},
toolBarContainer: {
...flexMdDown,
width: "100%"
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export class VisionExplanationDashboardHeader extends React.Component<
horizontal
horizontalAlign="space-between"
verticalAlign="start"
className={this.props.classNames.lowerToolbarContainer}
>
<Stack.Item>
<Slider
Expand Down

0 comments on commit a761762

Please sign in to comment.