Skip to content

Commit

Permalink
Restore min-width to popover. (#9086)
Browse files Browse the repository at this point in the history
This fixes a regression introduced as part of #8756. Basically we removed the min-width so as to let the content itself expand the popover. But alas an empty textfield, like the URL input field, did not expand the popover as it should. We could look at adding the min-width to the URL input field instead, this should expand the popover, but given the fallout this min-width removal has caused already, it's probably good to keep it in place as a baseline.
  • Loading branch information
jasmussen authored and mtias committed Aug 17, 2018
1 parent a433672 commit a448f78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/src/popover/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ $arrow-size: 8px;
position: absolute;
height: auto;
overflow-y: auto;
min-width: 260px;
}

.components-popover:not(.is-mobile).is-top & {
Expand Down

0 comments on commit a448f78

Please sign in to comment.