Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing top padding in radioButtonListRow and checkBoxListRow #7

Closed
FatalRabbit opened this issue Sep 28, 2012 · 5 comments
Closed

Comments

@FatalRabbit
Copy link

There is a missing top padding in radioButtonListRow and checkBoxListRow. In generation of radioButtonListRow or checkBoxListRow yii adds hidden field first after

and css style

.controls > .radio:first-child, .controls > .checkbox:first-child {
    padding-top: 5px;
}

dont work.

May be change this style to something like

.controls > label.radio:nth-of-type(1), .controls > label.checkbox:nth-of-type(1) {
    padding-top: 5px;
}
@tonydspaniard
Copy link
Contributor

Is that happening on horizontal or vertical forms? Can you point me where can I see it here: http://yii-booster.clevertech.biz/site/components.html#forms ?

thanks

@FatalRabbit
Copy link
Author

it is in horizontal form, in generation of Checkboxes and Radio buttons. On page example http://yii-booster.clevertech.biz/site/components.html#forms in generation of Inline checkboxes there is options labels are in same line with main label "Inline checkboxes", but options labels of checkBoxList are a bit higher.

@tonydspaniard
Copy link
Contributor

Reviewing...

When I include the solution, the labels do not look good as they go higher. They don't look at the same level. Can you provide your OS and browser?

Thanks

@tonydspaniard
Copy link
Contributor

Do you have time for a pull request? thanks!

@tonydspaniard
Copy link
Contributor

closed as there are no updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants