Problem/Motivation

Filter/processor stages columns rely on custom CSS, that comes with the module. This may break in the future - may even be broken now.

Proposed resolution

Use the (new?) CSS added to system.admin.css for these columns.

Remaining tasks

Remove custom CSS. Add core classes to columns outputed.

Comments

ekes’s picture

Title: User core CSS for admin UI filter/processor stages columns » Use core CSS for admin UI filter/processor stages columns
drunken monkey’s picture

You mean the stuff in #2471791: Improve the CSS layout framework for Drupal's admin interface?
That's not added yet, right? So this issue should be postponed?
But, of course, once it gets committed we should definitely use it.

Or did you mean something else?

ekes’s picture

No idea someone just came along and said there was a two and three column css in - so I opened the issue. If it's not there yet postpone.

drunken monkey’s picture

OK, I think it's postponed then. And, if I'm right, then at least until Drupal 8.1.x – and then I have no idea how to require compatibility for that.

drunken monkey’s picture

In the (more and more likely) case that the Core patch won't be committed, here's some CSS I used which seems to work perfectly in Firefox:

.search-api-stage-wrapper.form-item {
  width: 32.66%;
  box-sizing: border-box;
}

.search-api-stage-wrapper.form-item:last-child {
  margin-right: 0;
}

(Recently learned about box-sizingvery helpful!)

cedric_a’s picture

Here is what I found :
- I inspected the View UI : it use custom CSS (views related classes) to achieve the 3 columns
- and, as suggested, I looked at "system.admin.css" into Stable core theme, but unfortunately it doesn't provide standard classes to achive the 3 columns (only 2 or 4 columns are possible)
So this is just an update to say that the custom CSS we use here is still relevant.