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

Horizontal radio and checkbox fields' labels misaligned #852

Closed
siphomateke opened this issue Jun 12, 2018 · 2 comments
Closed

Horizontal radio and checkbox fields' labels misaligned #852

siphomateke opened this issue Jun 12, 2018 · 2 comments
Assignees

Comments

@siphomateke
Copy link

siphomateke commented Jun 12, 2018

Overview of the problem

Buefy version: [0.6.6]
Vuejs version: [2.5.16]
OS/Browser: Solus(Linux) / Chrome

Description

Horizontal fields' labels do not line up with checkboxes and radio controls. This is because all .field-labels have the .is-normal class which should only be used for .inputs or .buttons according to Bulma's documentation. I can't see any way to remove the .is-normal class using Buefy.

Horizontal field with radios and checkboxes
image

Horizontal field with an input
image

Steps to reproduce

Create a horizontal field with a label and put a radio or checkbox in it;

<b-field horizontal label="Label">
    <b-radio>Value</b-radio>
</b-field>

Expected behavior

The field label lines up with the control.

Actual behavior

The field label does not line up with the control.

@siphomateke
Copy link
Author

I accidentally submitted this issue before I filled it in. One moment 😄

@siphomateke siphomateke changed the title Horizontal radio and switch field Horizontal radio and checkbox fields' labels misaligned Jun 12, 2018
@siphomateke
Copy link
Author

I've actually filled in the issue now. Sorry about that.

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

No branches or pull requests

2 participants