onfocus the outline has been removed and the offset has been adjusted for the link to be clearly visible
This commit is contained in:
parent
533e9c887c
commit
f11e0b85bd
|
@ -14,7 +14,7 @@
|
|||
.throughputInputSpacing > :not(:last-child) {
|
||||
margin-bottom: @DefaultSpace;
|
||||
}
|
||||
.capacitycalculator-link:focus{
|
||||
.capacitycalculator-link:focus {
|
||||
text-decoration: underline;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -224,8 +224,10 @@ export const ThroughputInput: FunctionComponent<ThroughputInputProps> = ({
|
|||
Estimate your required RU/s with{" "}
|
||||
<Link
|
||||
target="_blank"
|
||||
className="capacitycalculator-link"
|
||||
href="https://cosmos.azure.com/capacitycalculator/"
|
||||
aria-label="capacity calculator of azure cosmos db"
|
||||
style={{ outline: "none" }}
|
||||
>
|
||||
capacity calculator
|
||||
</Link>
|
||||
|
|
|
@ -733,12 +733,24 @@ exports[`ThroughputInput Pane should render Default properly 1`] = `
|
|||
|
||||
<StyledLinkBase
|
||||
aria-label="capacity calculator of azure cosmos db"
|
||||
className="capacitycalculator-link"
|
||||
href="https://cosmos.azure.com/capacitycalculator/"
|
||||
style={
|
||||
Object {
|
||||
"outline": "none",
|
||||
}
|
||||
}
|
||||
target="_blank"
|
||||
>
|
||||
<LinkBase
|
||||
aria-label="capacity calculator of azure cosmos db"
|
||||
className="capacitycalculator-link"
|
||||
href="https://cosmos.azure.com/capacitycalculator/"
|
||||
style={
|
||||
Object {
|
||||
"outline": "none",
|
||||
}
|
||||
}
|
||||
styles={[Function]}
|
||||
target="_blank"
|
||||
theme={
|
||||
|
@ -1017,9 +1029,14 @@ exports[`ThroughputInput Pane should render Default properly 1`] = `
|
|||
>
|
||||
<a
|
||||
aria-label="capacity calculator of azure cosmos db"
|
||||
className="ms-Link root-117"
|
||||
className="ms-Link capacitycalculator-link root-117"
|
||||
href="https://cosmos.azure.com/capacitycalculator/"
|
||||
onClick={[Function]}
|
||||
style={
|
||||
Object {
|
||||
"outline": "none",
|
||||
}
|
||||
}
|
||||
target="_blank"
|
||||
>
|
||||
capacity calculator
|
||||
|
|
Loading…
Reference in New Issue