Skip to content

Different label sizes for groups of slds-radio and slds-checkbox #556

@maiwald

Description

@maiwald

I was wondering why there are different sizes for slds-form-element__label when used in slds-radio and in slds-checkbox. In particular, this was making me wonder:

.slds-form-element__label {
display: inline;
vertical-align: middle;
font-size: $font-size-medium;
}

This is basically taken from the Docs and produces the following result: (https://codepen.io/anon/pen/oybPMw)

screenshot from 2018-06-04 12-40-13

To me, this looks inconsistent or am I using it wrong? Are checkboxes not supposed to be used like this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions