klox7 VIP
Total posts: 914
23 Янв 2014 06:35

First I'm wondering why there is no option in field parameters to break after label in list view?

Second I think break after label in record view doesn't work properly. I tried with default cobalt template and protostar and i think all that .line-brk does is removes margin-left from dd. Is this normal behaviour?

Последние изменения: 02 Март 2014


Sergey
Total posts: 13,748
23 Янв 2014 07:49

First I'm wondering why there is no option in field parameters to break after label in list view?

I'll tell you :) In Cobalt we decided to keep this concept. Fields, Types and section parameters are all logical. And how it looks all parameters in templates.

Unfortunately this is not applicable to this parameter. It should be in field parameters which by concept should be logical not how it looks. SO we left few of them but dropped most of look parameters.

Now the only way is custom template.

First I'm wondering why there is no option in field parameters to break after label in list view?

Second I think break after label in record view doesn't work properly. I tried with default cobalt template and protostar and i think all that .line-brk does is removes margin-left from dd. Is this normal behaviour?

That may be. Because CSS may vary from site to site.


klox7 VIP
Total posts: 914
23 Янв 2014 08:01

Now the only way is custom template.

For me it's not a problem, I like doing custom templates. But don't you think that with this kind of options you will bring more "non tech" users to Cobalt? Ok but nevermind, it's a small thing.

For the second thing... .line-brk is added if you configure line break in field, right? Why don't you here add to css clear: left (or something) so that field value goes bellow label?


Sergey
Total posts: 13,748
23 Янв 2014 22:53

Why don't you here add to css clear: left (or something) so that field value goes bellow label?

May be because I am not CSS guru?

Работает на Cobalt