sticky-kit icon indicating copy to clipboard operation
sticky-kit copied to clipboard

Issue with flexbox parent

Open andybrummer opened this issue 5 years ago • 1 comments

I had an issue where the replacement div was collapsing because it didn't match the flex settings of the element that it replaced. It would be nice if you could copy the css flex value from the element you are replacing.

As it is, I was able to add:
.is_stuck + div { flex: 0 0 auto; }

To my stylesheet.

If you want, I wouldn't mind making the fix myself if you are accepting changes.

andybrummer avatar Mar 18 '20 17:03 andybrummer

I'm not sure if it's the same issue, but I think I'm facing a similar CSS-related problem. On my website, the sidebar is sticky and for some reason, it resizes when the user scrolls, thereby causing the music-player iframe to reload. Does it look like the same issue?

jigarius avatar Nov 26 '20 14:11 jigarius