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

A few UI alignment fixes #1359

Merged
merged 1 commit into from
Apr 18, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const causalIndividualChartStyles: () => IProcessedStyleSet<ICausalIndivi
return mergeStyleSets<ICausalIndividualChartStyles>({
chartWithAxes: {
paddingTop: "30px",
width: "97%"
width: "80%"
},
chartWithVertical: {
width: "100%"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const featureImportanceBarStyles: IProcessedStyleSet<IFeatureImportanceBa
width: "95%"
},
chartWithVertical: {
width: "100%"
width: "80%"
},
noData: {
flex: "1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const counterfactualChartStyles: () => IProcessedStyleSet<ICounterfactual
return mergeStyleSets<ICounterfactualChartStyles>({
chartWithAxes: {
paddingTop: "30px",
width: "97%"
width: "80%"
},
chartWithVertical: {
width: "100%"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const errorAnalysisStyles: () => IProcessedStyleSet<IErrorAnalysisStyles>
errorAnalysis: {
color: theme.semanticColors.bodyText,
overflow: "auto",
padding: "0 20px 20px",
width: "100%"
},
errorAnalysisWrapper: { paddingLeft: "15px" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export const globalTabStyles: () => IProcessedStyleSet<IGlobalTabStyles> =
},
legendAndSort: {
height: "100%",
paddingLeft: "25px",
tongyu-microsoft marked this conversation as resolved.
Show resolved Hide resolved
paddingTop: "55px",
width: rightMarginWidth
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export class LocalImportancePlots extends React.Component<
onChange={this.setSortIndex}
/>
</Stack.Item>
<Stack.Item>
<Stack.Item className={classNames.absoluteValueToggle}>
<Toggle
label={localization.Interpret.GlobalTab.absoluteValues}
inlineLabel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
} from "office-ui-fabric-react";

export interface IWhatIfTabStyles {
absoluteValueToggle: IStyle;
page: IStyle;
blackIcon: IStyle;
expandedPanel: IStyle;
Expand Down Expand Up @@ -83,6 +84,9 @@ export const whatIfTabStyles: () => IProcessedStyleSet<IWhatIfTabStyles> =
const legendWidth = "160px";
const theme = getTheme();
return mergeStyleSets<IWhatIfTabStyles>({
absoluteValueToggle: {
width: "170px"
},
blackIcon: {
color: theme.semanticColors.bodyText
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const modelOverviewStyles: () => IProcessedStyleSet<IModelOverviewStyles>
width: "400px"
},
sectionStack: {
padding: "16px 40px 10px 40px"
padding: "0 40px 10px 40px"
}
});
};