clojurescript

ClojureScript, a dialect of Clojure that compiles to JavaScript http://clojurescript.org | Currently at 1.10.879
Mr. Savy 2021-01-01T00:03:30.025400Z

@andyfry01 I'm trying to understand how overflow works. Right now, I have some content whose overflow is registered to the body , but I would like for it to be registered to the root div if possible. The content that causes the overflow is inside the outer box div. ex:

2021-01-01T00:23:55.025800Z

I think moving your overflow: scroll attr from the body element to the outerbox div would probably do the trick, but its hard to say without a visual example. If you could put it into a codepen or something then that would make it easier to debug.

2021-01-01T00:25:07.026Z

I dont think you'd need an overflow property on the root element unless your whole app is going to be rendered at a fixed height and width.

2021-01-01T00:26:59.026200Z

The CSS Tricks blog is a great resource btw: https://css-tricks.com/almanac/properties/o/overflow/

Mr. Savy 2021-01-01T02:08:33.026700Z

I was actually just looking at that article. I don't have a scroll overflow attached to the body. Here should be an approximate example of the code I'm working with https://codepen.io/albertsnows/pen/JjRpexg

2021-01-01T19:58:40.028400Z

Alright, I think this is what you’re trying to do: https://codepen.io/afry/pen/wvzyVgm Check out line 59 in the CSS. Given that you were using the overflow-wrap property, I might have misunderstood what your issue is, seeing as that prop looks like it’s used for controlling text wrapping as opposed to general element overflow, but at any rate, hope this helps!

Mr. Savy 2021-01-01T20:06:24.028700Z

thank you!