When you have a HTML list view that is draggable all the rows float left, giving a grid like display.

It should just be a vertical list without the floating.

Comments

ygerasimov’s picture

Status: Active » Closed (works as designed)

The main idea of this set of styles is to show that functionality of http://drupal.org/project/sgrid module can be reached here. So I would keep styles as they are. Specially as they are so easy to override in your theme.

rooby’s picture

Status: Closed (works as designed) » Active

Maybe there should be an option then, when you make a HTML list a draggable view, to have it floating or not?

I would have thought that people would expect a list to look the same whether it is sortable or not. If they want a grid they would select the grid view format instead of the HTML list one.

Why make most users have to override the css? People are already used to having to float a list if they want it to look like a grid.

Or maybe an addition to the README.txt to say if you want a HTML list that looks like a list you have to add this override to your css (or something similar):

.draggableviews-processed li.views-row {
  float: none;
  width: 100%;
  margin-left: 0;
}
ygerasimov’s picture

Status: Active » Fixed

Yes, thus is very good idea. Thank you. Committed http://drupalcode.org/project/draggableviews.git/commit/477751e

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.