Skip to content

Commit f36ff28

Browse files
committed
Fix some copilot review comments
1 parent a66b904 commit f36ff28

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

packages/react/src/Popover/Popover.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,15 +227,15 @@
227227
&:where([data-width-auto]) {
228228
width: auto;
229229
}
230-
230+
231231
&:where([data-height-xsmall]) {
232232
height: 192px;
233233
}
234234
&:where([data-height-small]) {
235235
height: 256px;
236236
}
237237
&:where([data-height-medium]) {
238-
height: 320px;
238+
height: 320px;
239239
}
240240
&:where([data-height-large]) {
241241
height: 432px;

packages/react/src/Popover/Popover.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ Playground.args = {
3333
caret: 'top',
3434
open: true,
3535
relative: true,
36-
width: 'auto',
37-
height: 'auto',
36+
width: 'small',
37+
height: 'fit-content',
3838
}
3939

4040
Playground.argTypes = {

packages/react/src/Popover/Popover.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Popover.displayName = 'Popover'
5656

5757
export type PopoverContentProps = {
5858
className?: string
59-
width?: 'small' | 'large' | 'medium' | 'auto' | 'xlarge'
59+
width?: 'small' | 'large' | 'medium' | 'auto' | 'xlarge' | 'xxlarge'
6060
height?: 'xsmall' | 'small' | 'large' | 'medium' | 'auto' | 'xlarge' | 'fit-content'
6161
overflow?: 'auto' | 'hidden' | 'scroll' | 'visible'
6262
} & StyledPopoverProps &

0 commit comments

Comments
 (0)