Skip to content

Commit

Permalink
alignment fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tongyu-microsoft committed Apr 18, 2022
1 parent 2527f0a commit d6d94e6
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 5 deletions.
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
2 changes: 1 addition & 1 deletion libs/counterfactuals/src/lib/CounterfactualChart.styles.ts
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",
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"
}
});
};

0 comments on commit d6d94e6

Please sign in to comment.