Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Conversation

@whimsicallyson
Copy link
Contributor

updates to styling: they were already being globally overwritten on the community site, so I figured I might as well add them here instead.

@FogCreek/design see any reason not to go for this?

@sarahzinger I can test out your new documentation/flow with this release!

Glitch (shared-components) added 3 commits December 17, 2019 20:40
./lib/popover.js:9/15
./lib/block.js:9/2
./changelog.md:9/86

---

## [0.13.10] - 2019-12-17
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

btw i think we probably want to hold off on publishing/changelog changes until after a pr is approved yeah? otherwise we can get into a merge conflict here

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let me know how the docs go for ya, I'm sure I missed things 😭

lib/popover.js Outdated
const PopoverWrap = styled.div`
position: absolute;
width: auto;
width: max-content;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may break popovers in IE/Edge since this value isn't supported in those browsers.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ugh I can't believe I didn't check that 🤦‍♀ let me double check that it does in fact work better than auto, and if so we can poke at it further!

Copy link
Contributor Author

@whimsicallyson whimsicallyson Dec 18, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, the one place I'm currently finding an issue is team-user-pop. possibilities:

as current:
Screen Shot 2019-12-18 at 11 56 00 AM

max-content:
Screen Shot 2019-12-18 at 11 56 21 AM

I think what would work is to make it so that if a Button has an Icon, make it so that there isn't a break between the text and the image. We can't do white-space: nowrap on the Button though, we had that in the past: #40
Thoughts?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. I thought that adding a min-width to popovers was a way to fix this (the editor has static width popovers), but that would break the tiny pops that we use for collection options. In the editor, we override the pop width in cases like the file options pop.

Maybe text-wrapping could be changed from the default, to an option that's false by default. I think most of our buttons are only a few words anyways. We could toggled the text-wrap on in specific cases where we know we're using really long copy — plus, using really long copy should probably be avoided.

Glitch (ajar-math) added 4 commits December 18, 2019 19:48
./lib/button.js:9/163
./lib/button.js:9/79
./lib/popover.js:9/15
Copy link
Contributor

@ehmorris ehmorris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me

Glitch (ajar-math) added 2 commits December 18, 2019 21:48
./changelog.md:9/68
./changelog.md:9/30
@whimsicallyson whimsicallyson merged commit 1795fb2 into master Dec 19, 2019
@whimsicallyson whimsicallyson deleted the ajar-math branch December 19, 2019 17:16
@keithk
Copy link
Contributor

keithk commented Nov 10, 2020

🚀 PR was released in v0.19.0 🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants