Skip to content

Commit 4416257

Browse files
Popover fitContent
1 parent be16c06 commit 4416257

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.changeset/moody-monkeys-wave.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'polaris-glints': minor
3+
---
4+
5+
Popover fitContent

polaris-react/src/components/Popover/Popover.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,15 @@ $vertical-motion-offset: -5px;
4242
transform: translateY($vertical-motion-offset);
4343
}
4444

45+
.fitContent {
46+
margin: $visible-portion-of-arrow auto 0 auto;
47+
width: fix-content;
48+
49+
.Content {
50+
max-width: none;
51+
}
52+
}
53+
4554
.fullWidth {
4655
margin: $visible-portion-of-arrow auto 0 auto;
4756

0 commit comments

Comments
 (0)