Fixed a11y scale autoscale details view issue

This commit is contained in:
vaidankarswapnil 2022-02-07 13:17:25 +05:30
parent b7f0548cca
commit ac39b7a852
2 changed files with 16 additions and 2 deletions

View File

@ -141,6 +141,19 @@ export const transparentDetailsHeaderStyle: Partial<IDetailsColumnStyles> = {
}, },
}; };
export const transparentDetailsCostHeaderStyle: Partial<IDetailsColumnStyles> = {
root: {
selectors: {
":hover": {
background: "transparent",
},
".ms-DetailsHeader-cellTitle": {
visibility: "hidden",
},
},
},
};
export const customDetailsListStyles: Partial<IDetailsListStyles> = { export const customDetailsListStyles: Partial<IDetailsListStyles> = {
root: { root: {
selectors: { selectors: {

View File

@ -38,6 +38,7 @@ import {
PriceBreakdown, PriceBreakdown,
saveThroughputWarningMessage, saveThroughputWarningMessage,
titleAndInputStackProps, titleAndInputStackProps,
transparentDetailsCostHeaderStyle,
transparentDetailsHeaderStyle, transparentDetailsHeaderStyle,
} from "../../SettingsRenderUtils"; } from "../../SettingsRenderUtils";
import { getSanitizedInputValue, IsComponentDirtyResult, isDirty } from "../../SettingsUtils"; import { getSanitizedInputValue, IsComponentDirtyResult, isDirty } from "../../SettingsUtils";
@ -219,12 +220,12 @@ export class ThroughputInputAutoPilotV3Component extends React.Component<
const estimatedSpendingColumns: IColumn[] = [ const estimatedSpendingColumns: IColumn[] = [
{ {
key: "costType", key: "costType",
name: "", name: "Cost Type",
fieldName: "costType", fieldName: "costType",
minWidth: 100, minWidth: 100,
maxWidth: 200, maxWidth: 200,
isResizable: true, isResizable: true,
styles: transparentDetailsHeaderStyle, styles: transparentDetailsCostHeaderStyle,
}, },
{ {
key: "minPerMonth", key: "minPerMonth",