On Tue, Jan 2, 2018 at 12:57 AM, Craig Russell <apache....@gmail.com> wrote:
> TL;DR I am still looking for a simplified column of radio buttons.
>
> Thanks,
>
> Craig
>
>> On Dec 30, 2017, at 12:17 PM, Craig Russell <apache....@gmail.com> wrote:
>
>> 4. The radio buttons are displayed vertically only because I added _p within 
>> them. I modeled these buttons after secretary/workbench selection which 
>> shows vertical but when I remove the _p the buttons are displayed 
>> horizontally all smooshed together.
> Still looking for a simplifying fix here.

The way to control layout is with CSS.  The secretary workbench forces
each label within the doctype selection to be placed on their own line
with the following rule:

https://github.com/apache/whimsy/blob/f2d82c184c47fe6b0b6dd7a072b7567894b95cbd/www/secretary/workbench/public/secmail.css#L40

Search for 'block' here: https://www.w3schools.com/cssref/pr_class_display.asp

To do similarly within the form-check portion of the icla demo page,
you would do:

.form-check label {
  display: block
}

- Sam Ruby

P.S.  I've pushed a change that will force the browser to reload the
CSS definitions whenever it changes:

https://github.com/apache/whimsy/commit/a838bf4b4d4dbba4a2118ea81b4985a8539eeaff

If memory serves, without this change Safari in particular would often
serve this page from the cache without checking with the server.  Even
on forced reloads.

Reply via email to