profile-hover icon indicating copy to clipboard operation
profile-hover copied to clipboard

Don't use content-box for box-sizing.

Open mirshko opened this issue 5 years ago • 2 comments

Using the default content-box box-sizing CSS attribute conflicts with the often reset box-sizing: border-box property in pretty much all CSS resets.

This causes the ProfileHover component to be all squished like below.

Screen Shot 2020-07-15 at 1 31 23 PM

mirshko avatar Jul 15 '20 11:07 mirshko

Nice catch @mirshko! Happy to release this if you create a PR to fix it :)

oed avatar Jul 15 '20 11:07 oed

Dont have bandwidth atm as it will require some styles changes, for now I found a workaround.

wrapping the profile hover class with

.profileHoverReset *,
.profileHoverReset ::before,
.profileHoverReset ::after {
  box-sizing: content-box;
}

mirshko avatar Jul 15 '20 11:07 mirshko