Compare commits

..

1 Commits

Author SHA1 Message Date
vaidankarswapnil
ac39b7a852 Fixed a11y scale autoscale details view issue 2022-02-07 13:17:25 +05:30
3 changed files with 16 additions and 5 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> = {
root: {
selectors: {

View File

@@ -38,6 +38,7 @@ import {
PriceBreakdown,
saveThroughputWarningMessage,
titleAndInputStackProps,
transparentDetailsCostHeaderStyle,
transparentDetailsHeaderStyle,
} from "../../SettingsRenderUtils";
import { getSanitizedInputValue, IsComponentDirtyResult, isDirty } from "../../SettingsUtils";
@@ -219,12 +220,12 @@ export class ThroughputInputAutoPilotV3Component extends React.Component<
const estimatedSpendingColumns: IColumn[] = [
{
key: "costType",
name: "",
name: "Cost Type",
fieldName: "costType",
minWidth: 100,
maxWidth: 200,
isResizable: true,
styles: transparentDetailsHeaderStyle,
styles: transparentDetailsCostHeaderStyle,
},
{
key: "minPerMonth",
@@ -582,7 +583,6 @@ export class ThroughputInputAutoPilotV3Component extends React.Component<
onChange={this.onThroughputChange}
min={this.props.minimum}
errorMessage={this.props.throughputError}
ariaLabel="Estimate your required throughput with capacity calculator"
/>
{this.state.exceedFreeTierThroughput && (
<MessageBar

View File

@@ -262,7 +262,6 @@ exports[`ThroughputInputAutoPilotV3Component spendAck checkbox visible 1`] = `
</StyledLinkBase>
</Text>
<StyledTextFieldBase
ariaLabel="Estimate your required throughput with capacity calculator"
disabled={false}
id="throughputInput"
key="provisioned throughput input"
@@ -538,7 +537,6 @@ exports[`ThroughputInputAutoPilotV3Component throughput input visible 1`] = `
</StyledLinkBase>
</Text>
<StyledTextFieldBase
ariaLabel="Estimate your required throughput with capacity calculator"
disabled={false}
id="throughputInput"
key="provisioned throughput input"