← Back to team overview

dhis2-devs team mailing list archive

Re: Width of input/drop down in custom event capture forms

 

Hi,

Not sure why it was added, will be removed.

Normally we don't style custom form, it is up to the user to style.


---
Thank you,
Abyot.

On Mon, Sep 21, 2015 at 3:37 PM, Halvdan Grelland <halvdanhg@xxxxxxxxx>
wrote:

> A cheap and cheerful workaround could be to append '!important' to the css
> statements which you need to override. It should force your style
> regardless of the specificity of the selector in the original stylesheet.
>
> E.g:
> {
>   width: 20em !important;
> }
>
> 2015-09-21 15:22 GMT+02:00 Olav Poppe <olav.poppe@xxxxxx>:
>
>> Hi, I'm trying to set up an event capture custom form in 2.20. It looks
>> like a style="100%" attribute is added directly to all input elements,
>> making it impossible to use use css classes in the custom form. Unless it
>> has changed recently, this has always been possible in the aggregate custom
>> forms and can be quite useful. Would it be possible to make it to work in a
>> similar way for tracker custom forms?
>>
>> Regards
>> Olav
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References