Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix vision data explorer elements truncated in smaller screen #2478

Merged
merged 1 commit into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading