lukaskleinschmidt/kirby-sortable

Long module titles break the layout

medienbaecker opened this issue · 1 comments

The .sortable-layout__title element has white-space set to nowrap and breaks the layout of the panel when there's too much text inside:

bildschirmfoto 2017-08-30 um 12 57 04

This is especially noticable on the mobile version, where even short titles are enough to push everything off to the right:

bildschirmfoto 2017-08-30 um 13 00 31

Thats because of a bug with fieldsets.
getkirby-v2/panel#986

You could add the styles from the PR in a custom panel css. I will add an info to the readme with a fix for that.

.form-blueprint-checklist > fieldset {
  min-width: 0;
}

@-moz-document url-prefix() {
  .form-blueprint-checklist > fieldset {
    display: table-cell;
  }
}

See https://github.com/lukaskleinschmidt/kirby-sortable#5-known-bugs