flexboxgrid

How to use flexboxgrid with wicked_pdf?

倾然丶 夕夏残阳落幕 提交于 2019-12-13 20:22:41
问题 I need to convert a .haml view to .pdf using wicked_pdf (or another), the problem is ... I use flexboxgrid (try BootstrapGrid before but it does not work), the columns (.col-xs- *) do not work as it. Should idea? 回答1: wicked_pdf uses wkhtmltopdf to do the rendering, which right now is approximate to a very old version of Chrome/Chromium (like v. 13 or so), which doesn't support Flexbox. You'll likely need to add and load a pdf-specific stylesheet to tweak the layout using non-flexbox CSS

Flexbox: space-between does not generate space between items [duplicate]

人走茶凉 提交于 2019-12-11 15:42:58
问题 This question already has an answer here : flex-grow not working in column layout (1 answer) Closed last year . I'm trying to have space between each .box element, however space-between is not acting to create spaces between the boxes. The boxes appear with no space in between them. * { box-sizing: border-box; } .grid { border: black dashed 1px; display: flex; flex-flow: column nowrap; justify-content: space-between; align-items: center; } .grid * { border: 1px red solid; } .box { height: