[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Patternfly] 12Columns Grid is not enough?

Hi June,

To be honest I don't think we need more than 12 columns. Bootstrap grid can be subdivided. This means that you can take any column and subdivided it into 12 columns.

This is specially useful in situations where you want to create a main column and a sidebar, and then divide the main column again.

The example you are showing is a table, and I think Taos solution is correct. Although it is possible I wouldn't use bootstrap grid on a table since tables are already divided into columns. In order to achieve Taos solution, table layout should be set to fixed. https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout

If for any reason you absolutely need to divide the grid into 24 spaces rather than 12, and change the gutter from 30px to 20px as suggested in the comments, you can easily do it by changing these 2 variables:

@grid-columns:              12;
@grid-gutter-width:         30px;

I've never tried it and it'll probably affect other patternfly components.

Let me know if Tao or you need help to implement any of these,



On Fri, Mar 4, 2016 at 3:44 AM, June Zhang <junzhang redhat com> wrote:
Hi, Designers

How do you think Grid 12columns?
Do you feel sometimes Grid 12col it not enough for the page layout? 
Such as tao’s question on this page: https://mojo.redhat.com/groups/pnt-ux/blog/2016/03/03/ue-improvement-the-user-experience-improvment-of-many-forms-on-one-page

Look forward your feedback.

Best Regards,
June Zhang, UX Team, PnT DevOps
irc: junzhang | ph: 8388231 | tz: UTC+8 | email: junzhang redhat com

Patternfly mailing list
Patternfly redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]