Skip to content

Commit 31c5eb7

Browse files
CopilotHotell
andauthored
fix(web-components): remove extraneous closing parentheses in avatar CSS (#35716)
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Hotell <[email protected]>
1 parent d912aa7 commit 31c5eb7

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "fix: remove extraneous closing parentheses in avatar CSS",
4+
"packageName": "@fluentui/web-components",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

packages/web-components/src/avatar/avatar.styles.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,15 @@ export const styles = css`
152152
position: absolute;
153153
bottom: 0;
154154
right: 0;
155-
box-shadow: 0 0 0 ${strokeWidthThin}) ${colorNeutralBackground1};
155+
box-shadow: 0 0 0 ${strokeWidthThin} ${colorNeutralBackground1};
156156
}
157157
158158
:host([size='64']) ::slotted([slot='badge']),
159159
:host([size='72']) ::slotted([slot='badge']),
160160
:host([size='96']) ::slotted([slot='badge']),
161161
:host([size='120']) ::slotted([slot='badge']),
162162
:host([size='128']) ::slotted([slot='badge']) {
163-
box-shadow: 0 0 0 ${strokeWidthThick}) ${colorNeutralBackground1};
163+
box-shadow: 0 0 0 ${strokeWidthThick} ${colorNeutralBackground1};
164164
}
165165
166166
:host([size='16']),
@@ -494,8 +494,8 @@ export const styles = css`
494494
right: 0;
495495
border-radius: inherit;
496496
transition-property: margin, opacity;
497-
transition-duration: ${durationUltraSlow}), ${durationSlower};
498-
transition-delay: ${animations.fastEase}), ${animations.nullEasing});
497+
transition-duration: ${durationUltraSlow}, ${durationSlower};
498+
transition-delay: ${animations.fastEase}, ${animations.nullEasing};
499499
}
500500
:host([active])::before {
501501
box-shadow: ${shadow8};

0 commit comments

Comments
 (0)