Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

Minify Breaks CSS Layout?

Started by Muut Archive 12 years ago · 5 replies · 287 views
12 years ago

If I enable the asset pipeline with minification and re-write on, my CSS layout is broken. If it's just the pipeline and re-write, it's fine.

Does Grav do anything unusual in it's minify routines?

12 years ago

We use the Minify library for minification. We do a little bit of extra work to support fonts and such. I would really need to see how it's breaking. Could be a bug in the Minify library itself. I've already fixed a couple.

12 years ago

I suspect it's a little complicated to debug. If I get some extra time, I'll try to concoct a minimal test case.

12 years ago

Still digging. I don't think it's the asset pipeline at all now. Turning off the debugger causes the same CSS layout problem, so it's in my CSS. Somehow the debugger pane causes a change in behavior. More digging...

12 years ago

If you can give me a URL where you are seeing the problem (perhaps a copy of your site with those settings enabled), I can have a poke about and see what's what?

12 years ago

Go to http://stage.bobrockefeller.com/. Scroll all the way to the very, very bottom. You'll see a vertical gap between the bottom of the pagination area and the colored footer at the bottom.

If the Grav debugger is off, then the gap is less by the height of the Grav Debugger logo in the bottom left-hand corner.

Maybe it's still my CSS?

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1280 9 years ago
Archive · by Muut Archive, 9 years ago
2 888 9 years ago
Archive · by Muut Archive, 9 years ago
2 4018 9 years ago
Archive · by Muut Archive, 9 years ago
1 2893 9 years ago
Archive · by Muut Archive, 9 years ago
3 1077 9 years ago